aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-07 13:55:43 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-03-07 15:01:31 +0100
commite20a019c9171cccd9b0e13576eee5106929ca2b4 (patch)
treed431e41319cc042972459ffd1ec7f1169f94c8ae
parent16ac9edc2f0e9b1e5eaaeb39290d93b4501541b1 (diff)
downloadffmpeg-e20a019c9171cccd9b0e13576eee5106929ca2b4.tar.gz
avformat: Fix apics with aac
Fixes Ticket2318 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit cada996528422907b8b818e99029a8e3b97cf08d)
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 21f2a0ebb8..733858ea3f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -642,7 +642,7 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma
goto fail;
if (id3v2_extra_meta) {
- if (!strcmp(s->iformat->name, "mp3")) {
+ if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac")) {
if((ret = ff_id3v2_parse_apic(s, &id3v2_extra_meta)) < 0)
goto fail;
} else