diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-06-16 18:49:51 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-06-16 18:56:56 +0000 |
commit | e997afdfc61e7c48ae7daea9b45dc6305e85aca0 (patch) | |
tree | a36ad7231509b64c6372c92360a85c6a22cb9bfe | |
parent | 9ea7ff7955192c38ac277a19920a96deed510be1 (diff) | |
download | ffmpeg-e997afdfc61e7c48ae7daea9b45dc6305e85aca0.tar.gz |
lavf: show APIC for tta files too
Fixes #2676.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d53e6544ee..36ac17fb2b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -669,7 +669,8 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma goto fail; if (id3v2_extra_meta) { - if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac")) { + if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac") || + !strcmp(s->iformat->name, "tta")) { if((ret = ff_id3v2_parse_apic(s, &id3v2_extra_meta)) < 0) goto fail; } else |