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.
This commit is contained in:
Jan Ekström 2025-01-25 20:59:25 +02:00
parent a649b2a831
commit 4401e4b606

View file

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