Message ID | 20240328200842.64301-1-jamrial@gmail.com |
---|---|
State | Accepted |
Commit | e54591369f15462c2d44aa151f605a095b933ae7 |
Headers | show |
Series | [FFmpeg-devel] avformat/flac_picture: print a warning when mimetype is unknown | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Thu, Mar 28, 2024 at 05:08:42PM -0300, James Almer wrote: > It's not an error since bba6df9ac7bd8386d92e1a7f5c737ca4e575fcc. > > Signed-off-by: James Almer <jamrial@gmail.com> > --- > libavformat/flac_picture.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) LGTM thx [...]
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; }
It's not an error since bba6df9ac7bd8386d92e1a7f5c737ca4e575fcc. Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/flac_picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)