Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c:
Fix handling of odd chunks in riff metadata.
+2008-12-09 Stefan Kost <ensonic@users.sf.net>
+
+ * gst-libs/gst/riff/riff-read.c:
+ Fix handling of odd chunks in riff metadata.
+
2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/volume/gstvolume.c: (gst_volume_class_init),
tsize = GST_READ_UINT32_LE (data + 4);
size -= 8;
data += 8;
+
+ GST_DEBUG ("tag %" GST_FOURCC_FORMAT ", size %u",
+ GST_FOURCC_ARGS (tag), tsize);
+
if (tsize > size) {
GST_WARNING_OBJECT (element,
"Tagsize %d is larger than available data %d", tsize, size);
}
}
+ if (tsize & 1)
+ tsize++;
+
data += tsize;
size -= tsize;
}