id3v2: Match PIC mimetype/format case-insensitively
authorMohammad Alsaleh <msal@tormail.org>
Fri, 10 Aug 2012 22:50:25 +0000 (01:50 +0300)
committerAnton Khirnov <anton@khirnov.net>
Sun, 12 Aug 2012 09:00:19 +0000 (11:00 +0200)
commit6e9bbc6525989f7dc51acc76712c6ca674053b60
treed31c87726db77cfe97297c9f8855c161a656f4b4
parent575db88377f4ea264f1ecb1efd02cb09f181ff70
id3v2: Match PIC mimetype/format case-insensitively

Some files' embedded art seems to have the mimetype 'image/JPG' instead
of 'image/jpg'. Libav fails to parse those because it matches
case-sensitively.

Use av_strncasecmp() to fix this behaviour.

Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/id3v2.c