mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 11:22:14 +00:00
lavf/aiffdec: don't stop parsing after SSND chunk
Some file has ID3 chunk placed after SSND. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d8173f264f
commit
c68a8a1340
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user