[FFmpeg-cvslog] r15987 - trunk/libavcodec/ac3dec.c
jbr
subversion
Wed Dec 3 04:34:31 CET 2008
Author: jbr
Date: Wed Dec 3 04:34:31 2008
New Revision: 15987
Log:
ac3dec: skip decoding and use error concealment for remaining blocks in
the frame after an error occurs.
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Wed Dec 3 04:34:31 2008
@@ -1308,6 +1308,7 @@ static int ac3_decode_frame(AVCodecConte
const float *output[s->out_channels];
if (!err && decode_audio_block(s, blk)) {
av_log(avctx, AV_LOG_ERROR, "error decoding the audio block\n");
+ err = 1;
}
for (ch = 0; ch < s->out_channels; ch++)
output[ch] = s->output[ch];
More information about the ffmpeg-cvslog
mailing list