gst/typefind/gsttypefindfunctions.c: fix typefinding on some ISO files. Fixes #339212.

Original commit message from CVS:

Patch by: Tim-Philipp Müller  <tim at centricular dot net>

* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
fix typefinding on some ISO files.  Fixes #339212.
This commit is contained in:
Tim-Philipp Müller 2006-04-22 21:25:41 +00:00 committed by Thomas Vander Stichele
parent d414feba1d
commit 1bb4609965
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
Patch by: Tim-Philipp Müller <tim at centricular dot net>
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
fix typefinding on some ISO files. Fixes #339212.
2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
Patch by: Tim-Philipp Müller <tim at centricular dot net>

View file

@ -1453,6 +1453,7 @@ qt_type_find (GstTypeFind * tf, gpointer unused)
STRNCMP (&data[4], "mdat", 4) == 0 ||
STRNCMP (&data[4], "ftyp", 4) == 0 ||
STRNCMP (&data[4], "free", 4) == 0 ||
STRNCMP (&data[4], "uuid", 4) == 0 ||
STRNCMP (&data[4], "skip", 4) == 0) {
if (tip == 0) {
tip = GST_TYPE_FIND_LIKELY;