summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <[email protected]>2024-03-28 17:08:09 -0300
committerJames Almer <[email protected]>2024-03-28 18:00:34 -0300
commite54591369f15462c2d44aa151f605a095b933ae7 (patch)
tree8a601d89e4e7a27a6845fc3756e48624420e1131
parent3d5f03bbc8bba2929cc09b07d2731ae5d392e772 (diff)
avformat/flac_picture: print a warning when mimetype is unknown
It's not an error since bba6df9ac7bd8386d92e1a7f5c737ca4e575fcc. Reviewed-by: Michael Niedermayer <[email protected]> Signed-off-by: James Almer <[email protected]>
-rw-r--r--libavformat/flac_picture.c2
1 files changed, 1 insertions, 1 deletions
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;
}