[FFmpeg-devel] [PATCH] avformat/flac_picture: print a warning when mimetype is unknown

James Almer jamrial at gmail.com
Thu Mar 28 22:08:42 EET 2024


It's not an error since bba6df9ac7bd8386d92e1a7f5c737ca4e575fcc.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavformat/flac_picture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/flac_picture.c b/libavformat/flac_picture.c
index 20df0192d4..c9f3f11edd 100644
--- a/libavformat/flac_picture.c
+++ b/libavformat/flac_picture.c
@@ -89,7 +89,7 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t **bufp, int buf_size,
         mime++;
     }
     if (id == AV_CODEC_ID_NONE) {
-        av_log(s, AV_LOG_ERROR, "Unknown attached picture mimetype: %s.\n",
+        av_log(s, AV_LOG_WARNING, "Unknown attached picture mimetype: %s.\n",
                mimetype);
         return 0;
     }
-- 
2.44.0



More information about the ffmpeg-devel mailing list