[FFmpeg-cvslog] avformat: Fix apics with aac

Michael Niedermayer git at videolan.org
Thu Mar 7 19:55:28 CET 2013


ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Thu Mar  7 13:55:43 2013 +0100| [e20a019c9171cccd9b0e13576eee5106929ca2b4] | committer: Carl Eugen Hoyos

avformat: Fix apics with aac

Fixes Ticket2318

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit cada996528422907b8b818e99029a8e3b97cf08d)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e20a019c9171cccd9b0e13576eee5106929ca2b4
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 21f2a0e..733858e 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



More information about the ffmpeg-cvslog mailing list