diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 06689d9f29..74b4ee48c4 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -505,8 +505,6 @@ xml_check_first_element_from_data (const guint8 * data, guint length, /* skip XMLDec in any case if we've got one */ if (got_xmldec) { - if (pos + 5 >= length) - return FALSE; pos += 5; data += 5; }