Commit e5459136 authored by James Almer's avatar James Almer

avformat/flac_picture: print a warning when mimetype is unknown

It's not an error since bba6df9a.
Reviewed-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 3d5f03bb
...@@ -89,7 +89,7 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t **bufp, int buf_size, ...@@ -89,7 +89,7 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t **bufp, int buf_size,
mime++; mime++;
} }
if (id == AV_CODEC_ID_NONE) { 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); mimetype);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment