[FFmpeg-devel] [PATCH] id3v2: support JPEG APIC with incorrect (image/jpg) MIME type

Michael Niedermayer michaelni at gmx.at
Wed Mar 28 02:39:53 CEST 2012


On Wed, Mar 28, 2012 at 12:13:32AM +0200, Piotr Bandurski wrote:
> diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
> index 9ccd6e7..16eff7e 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},

applied
thanks

PS: your mail is marked as application/octet-stream

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120328/c7ba4ec1/attachment.asc>


More information about the ffmpeg-devel mailing list