mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
according to specs, offset is before blocksize
Originally committed as revision 9429 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
620d1d7878
commit
11d540a480
@ -353,9 +353,9 @@ static int aiff_read_header(AVFormatContext *s,
|
||||
break;
|
||||
|
||||
case MKTAG('S', 'S', 'N', 'D'): /* Sampled sound chunk */
|
||||
get_be32(pb); /* Block align... don't care */
|
||||
offset = get_be32(pb); /* Offset of sound data */
|
||||
offset += url_ftell(pb); /* Compute absolute data offset */
|
||||
get_be32(pb); /* Block align... don't care */
|
||||
if (st->codec->codec_id) /* Assume COMM already parsed */
|
||||
goto got_sound;
|
||||
if (url_is_streamed(pb)) {
|
||||
|
Loading…
Reference in New Issue
Block a user