git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea7ff7
)
lavf: show APIC for tta files too
author
Paul B Mahol
<onemda@gmail.com>
Sun, 16 Jun 2013 18:49:51 +0000
(18:49 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Sun, 16 Jun 2013 18:56:56 +0000
(18:56 +0000)
Fixes #2676.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
d53e654
..
36ac17f
100644
(file)
--- 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