summaryrefslogtreecommitdiff
path: root/libavformat/id3v2.c
diff options
context:
space:
mode:
authorPiotr Bandurski <ami_stuff@o2.pl>2012-03-28 00:13:32 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-03-28 02:37:18 +0200
commit3c6397404b942cb73f5d0d8d3f02c73d58e3000c (patch)
tree3f8f7d7dd40d38fb361f8c6e6e0da56120cd6fca /libavformat/id3v2.c
parente4cc9f309e96a9145970989fd20394933923f574 (diff)
id3v2: support JPEG APIC with incorrect (image/jpg) MIME type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/id3v2.c')
-rw-r--r--libavformat/id3v2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 9ccd6e7b48..3de993ea9f 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -127,6 +127,7 @@ const char *ff_id3v2_picture_types[21] = {
const CodecMime ff_id3v2_mime_tags[] = {
{"image/gif" , CODEC_ID_GIF},
{"image/jpeg", CODEC_ID_MJPEG},
+ {"image/jpg" , CODEC_ID_MJPEG},
{"image/png" , CODEC_ID_PNG},
{"image/tiff", CODEC_ID_TIFF},
{"", CODEC_ID_NONE},