Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
Really detect ac-3 audio.
* gst/typefind/gsttypefindfunctions.c: (matroska_type_find):
really detect matroska files (off-by-1).
+2004-04-30 Ronald Bultje <rbultje@ronald.bitfreak.net>
+
+ * gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
+ Really detect ac-3 audio.
+ * gst/typefind/gsttypefindfunctions.c: (matroska_type_find):
+ really detect matroska files (off-by-1).
+
2004-04-30 David Schleef <ds@schleef.org>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
* we don't parse the whole header but simply check for the
* availability of that array of characters inside the header.
* Not fully fool-proof, but good enough. */
- for (n = 4 + size; n < 4 + size + total - sizeof (probe_data); n++)
+ for (n = 4 + size; n <= 4 + size + total - sizeof (probe_data); n++)
if (!memcmp (&data[n], probe_data, sizeof (probe_data))) {
gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, MATROSKA_CAPS);
break;