[Ffmpeg-cvslog] r7120 - trunk/libavformat/avidec.c

diego subversion
Sat Nov 18 21:34:24 CET 2006


Author: diego
Date: Sat Nov 18 21:34:24 2006
New Revision: 7120

Modified:
   trunk/libavformat/avidec.c

Log:
Fix misplaced comment.


Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c	(original)
+++ trunk/libavformat/avidec.c	Sat Nov 18 21:34:24 2006
@@ -440,12 +440,12 @@
                         av_log(s, AV_LOG_DEBUG, "invalid sample size or block align detected\n");
                     if (size%2) /* 2-aligned (fix for Stargate SG-1 - 3x18 - Shades of Grey.avi) */
                         url_fskip(pb, 1);
+                    /* Force parsing as several audio frames can be in
+                     * one packet. */
                     st->need_parsing = 1;
                     /* ADTS header is in extradata, AAC without header must be stored as exact frames, parser not needed and it will fail */
                     if (st->codec->codec_id == CODEC_ID_AAC && st->codec->extradata_size)
                         st->need_parsing = 0;
-                    /* force parsing as several audio frames can be in
-                       one packet */
                     /* AVI files with Xan DPCM audio (wrongly) declare PCM
                      * audio in the header but have Axan as stream_code_tag. */
                     if (st->codec->stream_codec_tag == ff_get_fourcc("Axan")){




More information about the ffmpeg-cvslog mailing list