# HG changeset patch # User jbr # Date 1228275271 0 # Node ID 5057047bcc526d5a303f320ee9c42b595b83aa40 # Parent 45cfe1d44e8691593b88f2ed04c54403a527bb5e ac3dec: skip decoding and use error concealment for remaining blocks in the frame after an error occurs. diff -r 45cfe1d44e86 -r 5057047bcc52 ac3dec.c --- a/ac3dec.c Wed Dec 03 01:14:06 2008 +0000 +++ b/ac3dec.c Wed Dec 03 03:34:31 2008 +0000 @@ -1308,6 +1308,7 @@ 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];