[FFmpeg-cvslog] lavf: show APIC for tta files too

Paul B Mahol git at videolan.org
Sun Jun 16 20:58:05 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jun 16 18:49:51 2013 +0000| [e997afdfc61e7c48ae7daea9b45dc6305e85aca0] | committer: Paul B Mahol

lavf: show APIC for tta files too

Fixes #2676.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

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

diff --git a/libavformat/utils.c b/libavformat/utils.c
index d53e654..36ac17f 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -669,7 +669,8 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma
             goto fail;
 
     if (id3v2_extra_meta) {
-        if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac")) {
+        if (!strcmp(s->iformat->name, "mp3") || !strcmp(s->iformat->name, "aac") ||
+            !strcmp(s->iformat->name, "tta")) {
             if((ret = ff_id3v2_parse_apic(s, &id3v2_extra_meta)) < 0)
                 goto fail;
         } else



More information about the ffmpeg-cvslog mailing list