[FFmpeg-devel] [PATCH 2/3] lavfi/atempo: remove dead increment.
Nicolas George
nicolas.george at normalesup.org
Sun Aug 5 23:30:37 CEST 2012
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.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120805/b66a1fe3/attachment.asc>
More information about the ffmpeg-devel
mailing list