aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-07 13:55:43 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-07 13:55:43 +0100
commitcada996528422907b8b818e99029a8e3b97cf08d (patch)
treee06cf91b028b1cab4cfa7043ff184991eaeef732 /libavformat/utils.c
parenta12a618aa9c6d84ec3c01695fb5aec9796453a6d (diff)
downloadffmpeg-cada996528422907b8b818e99029a8e3b97cf08d.tar.gz
avformat: Fix apics with aac
Fixes Ticket2318 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index f71184f65e..7383cdeb9d 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -627,7 +627,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