[MPlayer-cvslog] r25100 - trunk/libaf/af_scaletempo.c

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun Nov 18 18:49:24 CET 2007


On Sun, 2007-11-18 at 18:28 +0100, reimar wrote:
>      ppc = s->buf_pre_corr;
> -    for (i=s->num_channels; i<s->samples_overlap; i++) {
> +    ppc += s->samples_overlap - s->num_channels;
> +    ps  += s->samples_overlap - s->num_channels;
> +    i  = -(s->samples_overlap - s->num_channels);
> +    do {
>        corr += ( *ppc++ * *ps++ ) >> s->shift_corr;
> -    }
> +    } while (++i < 0);

The added += lines for ppc and ps look wrong.




More information about the MPlayer-cvslog mailing list