Browse Source

lavf: show APIC for tta files too

Fixes #2676.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.0
Paul B Mahol 12 years ago
parent
commit
e997afdfc6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/utils.c

+ 2
- 1
libavformat/utils.c View File

@@ -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


Loading…
Cancel
Save