mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
avformat/flac_picture: print a warning when mimetype is unknown
It's not an error since bba6df9ac7
.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
3d5f03bbc8
commit
e54591369f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user