[gst-cvs] gst-plugins-base: typefind: fix typo in previous mxf typefinder change
Tim Mueller
tpm at kemper.freedesktop.org
Wed Oct 21 12:36:47 PDT 2009
Module: gst-plugins-base
Branch: master
Commit: 37f89571814124f59b9fb8c84ff716d3c909e0b6
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=37f89571814124f59b9fb8c84ff716d3c909e0b6
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Wed Oct 21 20:35:17 2009 +0100
typefind: fix typo in previous mxf typefinder change
---
gst/typefind/gsttypefindfunctions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index d394de0..f59bc69 100644
--- a/gst/typefind/gsttypefindfunctions.c
+++ b/gst/typefind/gsttypefindfunctions.c
@@ -2705,7 +2705,7 @@ mxf_type_find (GstTypeFind * tf, gpointer ununsed)
for (i = 0; i < 1024 - 16; i++) {
/* Check first byte before calling more expensive memcmp function */
- if (G_UNLIKELY (c.data[0] == 0x06
+ if (G_UNLIKELY (c.data[i] == 0x06
&& memcmp (c.data + i, partition_pack_key, 13) == 0)) {
/* Header partition pack? */
if (c.data[i + 13] != 0x02)
More information about the Gstreamer-commits
mailing list