aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2025-01-25 20:59:25 +0200
committerJan Ekström <jeebjp@gmail.com>2025-01-28 21:57:35 +0200
commit4401e4b6065ea33d422adaa58692c5a4ba0ec2a4 (patch)
tree597b61d12859992b7f8b51ad207ba53caf055441
parenta649b2a8313571fcec101143e9479299eb8bc214 (diff)
downloadffmpeg-4401e4b6065ea33d422adaa58692c5a4ba0ec2a4.tar.gz
avformat/id3v2: add image/webp for WebP attached pictures
Found out to have been utilized via a user reporting an attached image not being available in a player utilizing avformat's demuxing capabilities.
-rw-r--r--libavformat/id3v2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 3507885706..29ee59e1f4 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -137,6 +137,7 @@ const CodecMime ff_id3v2_mime_tags[] = {
{ "image/png", AV_CODEC_ID_PNG },
{ "image/tiff", AV_CODEC_ID_TIFF },
{ "image/bmp", AV_CODEC_ID_BMP },
+ { "image/webp", AV_CODEC_ID_WEBP },
{ "JPG", AV_CODEC_ID_MJPEG }, /* ID3v2.2 */
{ "PNG", AV_CODEC_ID_PNG }, /* ID3v2.2 */
{ "", AV_CODEC_ID_NONE },