[FFmpeg-soc] [soc]: r859 - dirac/libavcodec/dirac.c
Marco Gerards
mgerards at xs4all.nl
Thu Aug 16 17:33:49 CEST 2007
Luca Barbato <lu_zero at gentoo.org> 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
More information about the FFmpeg-soc
mailing list