mirror of https://git.ffmpeg.org/ffmpeg.git
compute absolute data offset after reading blocksize
Originally committed as revision 9441 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bc9f081d53
commit
4513cd48ee
|
@ -354,8 +354,8 @@ static int aiff_read_header(AVFormatContext *s,
|
|||
|
||||
case MKTAG('S', 'S', 'N', 'D'): /* Sampled sound chunk */
|
||||
offset = get_be32(pb); /* Offset of sound data */
|
||||
offset += url_ftell(pb); /* Compute absolute data offset */
|
||||
get_be32(pb); /* BlockSize... don't care */
|
||||
offset += url_ftell(pb); /* Compute absolute data offset */
|
||||
if (st->codec->codec_id) /* Assume COMM already parsed */
|
||||
goto got_sound;
|
||||
if (url_is_streamed(pb)) {
|
||||
|
|
Loading…
Reference in New Issue