Browse Source

id3v2: support JPEG APIC with incorrect (image/jpg) MIME type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Piotr Bandurski Michael Niedermayer 13 years ago
parent
commit
3c6397404b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/id3v2.c

+ 1
- 0
libavformat/id3v2.c View File

@@ -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},


Loading…
Cancel
Save