riff: treat JUNQ chunks like JUNK chunks
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Feb 2010 14:19:33 +0000 (14:19 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Feb 2010 14:24:22 +0000 (14:24 +0000)
gst-libs/gst/riff/riff-read.c

index d4217f2af5b20a8030d37fcfb13142afae44dec6..e5983be5b947e4713898c66b5262878bfb2f46a5 100644 (file)
@@ -76,7 +76,7 @@ skip_junk:
       GST_FOURCC_ARGS (*tag), size);
 
   /* skip 'JUNK' chunks */
-  if (*tag == GST_RIFF_TAG_JUNK) {
+  if (*tag == GST_RIFF_TAG_JUNK || *tag == GST_RIFF_TAG_JUNQ) {
     size = GST_ROUND_UP_2 (size);
     *_offset += 8 + size;
     offset += 8 + size;