ffmpeg | branch: master | James Almer <jamr...@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 <mich...@niedermayer.cc>
Signed-off-by: James Almer <jamr...@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;
     }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to