[FFmpeg-cvslog] avformat: Fix apics with aac

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


ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Thu Mar  7 13:55:43 2013 +0100| [b642e45d8ce81f89a76ef8720c3e7cb69ec5ace6] | 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=b642e45d8ce81f89a76ef8720c3e7cb69ec5ace6
---

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

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 5cbf7ca..be816c2 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -625,7 +625,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