aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-11-18 20:34:24 +0000
committerDiego Biurrun <diego@biurrun.de>2006-11-18 20:34:24 +0000
commit5836d158b61241a556c8db53314182e4d78a5a32 (patch)
tree5f4e617ed0b94dc1722279f43932cb22849b14ac /libavformat
parent8662900b3b19f3b2c46d572da80833a88b80ca45 (diff)
downloadffmpeg-5836d158b61241a556c8db53314182e4d78a5a32.tar.gz
Fix misplaced comment.
Originally committed as revision 7120 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index e528af794a..d1af79fa32 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -440,12 +440,12 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
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")){