aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-05-31 22:12:49 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-05-31 22:12:49 +0000
commitfb2b88a816c020d738753225a4af3928ee75af33 (patch)
treeb6b76d8441c115d3d6918e8276742c4f3fe29412
parent9b57545934647539364140dc57719e4b25591172 (diff)
downloadffmpeg-fb2b88a816c020d738753225a4af3928ee75af33.tar.gz
cosmetics: add a comment, remove a comment
Originally committed as revision 13590 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3dec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 7052fab35e..d3e1bc1177 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1154,7 +1154,6 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
}
}
- /* parse the syncinfo */
if(err && err != AC3_PARSE_ERROR_CRC) {
switch(err) {
case AC3_PARSE_ERROR_SYNC:
@@ -1211,6 +1210,8 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
if (!err && ac3_parse_audio_block(s, blk)) {
av_log(avctx, AV_LOG_ERROR, "error parsing the audio block\n");
}
+
+ /* interleave output samples */
for (i = 0; i < 256; i++)
for (ch = 0; ch < s->out_channels; ch++)
*(out_samples++) = s->int_output[ch][i];