1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ac3dec: skip decoding and use error concealment for remaining blocks in

the frame after an error occurs.

Originally committed as revision 15987 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2008-12-03 03:34:31 +00:00
parent 7a2efd2e44
commit af2272b209

View File

@ -1308,6 +1308,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size,
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];