[FFmpeg-cvslog] r11388 - trunk/libavcodec/ac3dec.c

Andreas Öman andreas
Mon Jan 7 16:18:59 CET 2008


jbr wrote:
> Author: jbr
> Date: Fri Jan  4 00:05:53 2008
> New Revision: 11388
> 
> Log:
> only check ac3 crc if AVCodecContext.error_resilience > 0

>  [...]
>      /* check for crc mismatch */
> +    if(avctx->error_resilience > 0) {

May I suggest that you use the constants available in avcodec.h.
Also, since '1' (FF_ER_CAREFUL) is default, perhaps the check should
be > FF_ER_CAREFUL.




More information about the ffmpeg-cvslog mailing list