Commit cada9965 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat: Fix apics with aac

Fixes Ticket2318
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a12a618a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment