avformat: Fix apics with aac
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Mar 2013 12:55:43 +0000 (13:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Mar 2013 12:55:43 +0000 (13:55 +0100)
Fixes Ticket2318

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index f71184f..7383cde 100644 (file)
@@ -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