Commit c68a8a13 authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Michael Niedermayer

lavf/aiffdec: don't stop parsing after SSND chunk

Some file has ID3 chunk placed after SSND.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d8173f26
......@@ -259,7 +259,7 @@ static int aiff_read_header(AVFormatContext *s)
offset = avio_rb32(pb); /* Offset of sound data */
avio_rb32(pb); /* BlockSize... don't care */
offset += avio_tell(pb); /* Compute absolute data offset */
if (st->codec->block_align) /* Assume COMM already parsed */
if (st->codec->block_align && !pb->seekable) /* Assume COMM already parsed */
goto got_sound;
if (!pb->seekable) {
av_log(s, AV_LOG_ERROR, "file is not seekable\n");
......
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