The MIME type field is required per the FLAC standard, but it's not an error just because ffmpeg doesn't recognize it.
Unified · Split
| @@ -91,8 +91,6 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t **bufp, int buf_size, · 90 unmodified lines | |||
| 91 | if (id == AV_CODEC_ID_NONE) { | 91 | if (id == AV_CODEC_ID_NONE) { |
| 92 | av_log(s, AV_LOG_ERROR, "Unknown attached picture mimetype: %s.\n", | 92 | av_log(s, AV_LOG_ERROR, "Unknown attached picture mimetype: %s.\n", |
| 93 | mimetype); | 93 | mimetype); |
| 94 | if (s->error_recognition & AV_EF_EXPLODE) | ||
| 95 | return AVERROR_INVALIDDATA; | ||
| 96 | return 0; | 94 | return 0; |
| 97 | } | 95 | } |
| 98 | 96 | ||