avformat: Fix apics with aac
Fixes Ticket2318 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a12a618aa9
commit
cada996528
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user