gst/id3demux/id3v2frames.c: Fix parsing of ID3 v2.2.0 PIC frames. Only in version...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 12 Mar 2007 13:28:29 +0000 (13:28 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 12 Mar 2007 13:28:29 +0000 (13:28 +0000)
commit2354b65a9e4dc93c4a2f2ccd4c64a650474f905d
tree0e7faaa20f6e4f51e646d8e2872e15f8abf87ca7
parenta7368fc0c6505dd2be3bc605a780f981c277d8ea
gst/id3demux/id3v2frames.c: Fix parsing of ID3 v2.2.0 PIC frames. Only in version >= 2.3.0 is the image format a vari...

Original commit message from CVS:
* gst/id3demux/id3v2frames.c: (parse_picture_frame):
Fix parsing of ID3 v2.2.0 PIC frames. Only in version >= 2.3.0 is
the image format a variable-length NUL-terminated string; in
versions before that the image format is a fixed-length string of
3 characters (see #348644 for a sample tag).
Also make supplied mime type lower-case and fix up 'jpg' to 'jpeg'.
ChangeLog
gst/id3demux/id3v2frames.c