History

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.

Dale Curtis committed 3 years ago

Commit bba6df91 parent 02eb2fc1 file · +0 −2Browse files

Unified · Split

libavformat/flac_picture.c+0−2
@@ -91,8 +91,6 @@ int ff_flac_parse_picture(AVFormatContext *s, uint8_t **bufp, int buf_size, · 90 unmodified lines
9191 if (id == AV_CODEC_ID_NONE) {
9292 av_log(s, AV_LOG_ERROR, "Unknown attached picture mimetype: %s.\n",
9393 mimetype);
94− if (s->error_recognition & AV_EF_EXPLODE)
95− return AVERROR_INVALIDDATA;
9694 return 0;
9795 }
9896

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t