[FFmpeg-cvslog] r9429 - trunk/libavformat/aiff.c
bcoudurier
subversion
Mon Jun 25 23:46:15 CEST 2007
Author: bcoudurier
Date: Mon Jun 25 23:46:15 2007
New Revision: 9429
Log:
according to specs, offset is before blocksize
Modified:
trunk/libavformat/aiff.c
Modified: trunk/libavformat/aiff.c
==============================================================================
--- trunk/libavformat/aiff.c (original)
+++ trunk/libavformat/aiff.c Mon Jun 25 23:46:15 2007
@@ -353,9 +353,9 @@ static int aiff_read_header(AVFormatCont
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)) {
More information about the ffmpeg-cvslog
mailing list