summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-10-21 20:35:17 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-10-21 20:36:23 +0100
commit37f89571814124f59b9fb8c84ff716d3c909e0b6 (patch)
tree1e7d10ad22096a095ef1b7e6e3643e065a41df0e
parentd48d47e68365990d7c66782225f7fddf7efde86e (diff)
typefind: fix typo in previous mxf typefinder change
-rw-r--r--gst/typefind/gsttypefindfunctions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index d394de006..f59bc69eb 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)