OSDN Git Service

id3v2: Support v2.2 PIC
authorMohammad Alsaleh <msal@i2pmail.org>
Tue, 7 Aug 2012 21:31:51 +0000 (21:31 +0000)
committerAnton Khirnov <anton@khirnov.net>
Wed, 8 Aug 2012 09:20:45 +0000 (11:20 +0200)
commit385ec296f1b39a2f49d1e897a2606c29da173f6a
tree85f87f4a7e3ceac22f662fe38b3e9d5f77fc57b5
parent1a4b55678665b4222766db8ef116256abc3fd013
id3v2: Support v2.2 PIC

id3 v2.2 uses image format ("JPG","PNG") instead of mimetypes.

Currently, the attached picture is skipped because the format string
does not match a known picture mimetype.

This patch fixes this behaviour.

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