aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-06-25 21:46:15 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-06-25 21:46:15 +0000
commit11d540a480f962e5a854b6c35da132f5e7f1f4a5 (patch)
tree34f72279478f83a8bd371982edb99c4ce4df7b3a
parent620d1d787863644912cd8ec8bb8b5e0bcd2c4e3a (diff)
downloadffmpeg-11d540a480f962e5a854b6c35da132f5e7f1f4a5.tar.gz
according to specs, offset is before blocksize
Originally committed as revision 9429 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/aiff.c2
1 files changed, 1 insertions, 1 deletions
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)) {