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>
release/7.1
James Almer 9 months ago
parent 3d5f03bbc8
commit e54591369f
  1. 2
      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;
}

Loading…
Cancel
Save