[FFmpeg-cvslog] r9441 - trunk/libavformat/aiff.c

bcoudurier subversion
Wed Jun 27 01:08:40 CEST 2007


Author: bcoudurier
Date: Wed Jun 27 01:08:39 2007
New Revision: 9441

Log:
compute absolute data offset after reading blocksize

Modified:
   trunk/libavformat/aiff.c

Modified: trunk/libavformat/aiff.c
==============================================================================
--- trunk/libavformat/aiff.c	(original)
+++ trunk/libavformat/aiff.c	Wed Jun 27 01:08:39 2007
@@ -354,8 +354,8 @@ static int aiff_read_header(AVFormatCont
 
             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)) {




More information about the ffmpeg-cvslog mailing list