Commit 78ceb04c authored by bcoudurier's avatar bcoudurier

according to specs, offset is before blocksize

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9429 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 09e19fab
......@@ -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)) {
......
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