[FFmpeg-cvslog] avformat/flac_picture: print a warning when mimetype is unknown
James Almer
git at videolan.org
Thu Mar 28 23:00:56 EET 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Mar 28 17:08:09 2024 -0300| [e54591369f15462c2d44aa151f605a095b933ae7] | committer: James Almer
avformat/flac_picture: print a warning when mimetype is unknown
It's not an error since bba6df9ac7bd8386d92e1a7f5c737ca4e575fcc.
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e54591369f15462c2d44aa151f605a095b933ae7
---
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;
}
More information about the ffmpeg-cvslog
mailing list