diff --git a/libavformat/aiff.c b/libavformat/aiff.c index da011ca0bc..c420e0b52f 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -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)) {