Mercurial > libavcodec.hg
diff ac3dec.c @ 8249:5057047bcc52 libavcodec
ac3dec: skip decoding and use error concealment for remaining blocks in
the frame after an error occurs.
author | jbr |
---|---|
date | Wed, 03 Dec 2008 03:34:31 +0000 |
parents | f17b1eb9ccd1 |
children | be0f5221ccd0 |
line wrap: on
line diff
--- 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];