riff: treat JUNQ chunks like JUNK chunks

This commit is contained in:
Tim-Philipp Müller 2010-02-12 14:19:33 +00:00
parent 8d7304b12c
commit 5a2ae53bae

View 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;