diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2023-04-10 10:52:08 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-03-28 18:07:13 +0100 |
commit | bba6df9ac7bd8386d92e1a7f5c737ca4e575fccf (patch) | |
tree | b72281e800c1904999faa0a9591a84fe19b4565b | |
parent | 02eb2fc577e926e9f927829f1d8c8cdb8f31cbbd (diff) | |
download | ffmpeg-bba6df9ac7bd8386d92e1a7f5c737ca4e575fccf.tar.gz |
Don't throw an error when attached picture isn't recognized.
The MIME type field is required per the FLAC standard, but it's
not an error just because ffmpeg doesn't recognize it.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/flac_picture.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/flac_picture.c b/libavformat/flac_picture.c index b33fee75b4..20df0192d4 100644 --- a/libavformat/flac_picture.c +++ b/libavformat/flac_picture.c @@ -91,8 +91,6 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t **bufp, int buf_size, if (id == AV_CODEC_ID_NONE) { av_log(s, AV_LOG_ERROR, "Unknown attached picture mimetype: %s.\n", mimetype); - if (s->error_recognition & AV_EF_EXPLODE) - return AVERROR_INVALIDDATA; return 0; } |