[FFmpeg-devel] [PATCH 2/3] lavfi/atempo: remove dead increment.

Pavel Koshevoy pkoshevoy at gmail.com
Mon Aug 6 01:03:52 CEST 2012


On 08/05/2012 03:30 PM, Nicolas George wrote:
> Le nonidi 19 thermidor, an CCXX, Clément Bœsch a écrit :
>> ---
>>   libavfilter/af_atempo.c | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c
>> index 959cacb..7971aef 100644
>> --- a/libavfilter/af_atempo.c
>> +++ b/libavfilter/af_atempo.c
>> @@ -553,7 +553,6 @@ static int yae_load_frag(ATempoContext *atempo,
>>   
>>       if (n1) {
>>           memcpy(dst, b + i1 * atempo->stride, n1 * atempo->stride);
>> -        dst += n1 * atempo->stride;
>>       }
> The patch is correct, obviously, but I am not sure the code does not look
> better with it, for the symmetry with the n0/i0 case. If Pavel still lurks
> here, he can give his advice.


It's fine to remove that line.

Thank you,
Pavel.



More information about the ffmpeg-devel mailing list