Luca Barbato <[EMAIL PROTECTED]> writes: > marco wrote: >> Author: marco >> Date: Thu Aug 16 14:38:27 2007 >> New Revision: 859 >> >> Log: >> remove useless check >> >> Modified: >> dirac/libavcodec/dirac.c >> >> Modified: dirac/libavcodec/dirac.c >> ============================================================================== >> --- dirac/libavcodec/dirac.c (original) >> +++ dirac/libavcodec/dirac.c Thu Aug 16 14:38:27 2007 >> @@ -1012,9 +1012,6 @@ static int subband(DiracContext *s, int1 >> dirac_arith_flush(&s->arith); >> } >> >> - if (level == 0 && s->refs == 0) >> - intra_dc_prediction(s, data); >> - >> return 0; >> } >> > > you removed everything, not just the check...
Level is always >1, so the code will not be executed. That is what I meant with that the check is useless. Thanks, Marco _______________________________________________ FFmpeg-soc mailing list [email protected] http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
