Author: jbr
Date: Fri May 30 00:43:36 2008
New Revision: 2244
Log:
change condition for checking CRC
Modified:
eac3/ac3dec.c
Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c (original)
+++ eac3/ac3dec.c Fri May 30 00:43:36 2008
@@ -1281,7 +1281,7 @@ static int ac3_decode_frame(AVCodecConte
}
/* check for crc mismatch */
- if(!err && avctx->error_resilience > 0) {
+ if(!err && avctx->error_resilience >= FF_ER_CAREFUL) {
if(av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, &buf[2],
s->frame_size-2)) {
av_log(avctx, AV_LOG_ERROR, "frame CRC mismatch\n");
err = 1;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc