diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-06-26 23:08:39 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2007-06-26 23:08:39 +0000 |
commit | 4513cd48ee1671d73404e814913f2b8aae97c9ae (patch) | |
tree | 220394a37b2fbebb2db6cda8e64ad740ea5a3cea | |
parent | bc9f081d53c2ca1f5a6c3f4c264e88ef3e6b7eee (diff) | |
download | ffmpeg-4513cd48ee1671d73404e814913f2b8aae97c9ae.tar.gz |
compute absolute data offset after reading blocksize
Originally committed as revision 9441 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/aiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c index c8e89c7c1d..19443bb206 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -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)) { |