[MPlayer-dev-eng] [PATCH] af_scaletempo

Robert Juliano juliano.1 at osu.edu
Wed Sep 26 06:16:06 CEST 2007


On Wed, Sep 26, 2007 at 12:54:04AM +0000, JustFillBug wrote:
> On 2007-09-24, Robert Juliano <juliano.1 at osu.edu> wrote:
> > +int _best_overlap_offset_float(af_scaletempo_t* s) {
...
> > +  search_start = (float*)s->buf_queue;
> > +  for (off=0; off<s->frames_search; off++) {
> > +    float corr = 0;
> > +    float* ps = search_start;
> > +    ppc = (float*)s->buf_pre_corr;
> > +    for (i=0; i<s->samples_overlap; i++) {
> 
> shouldn't this be s->num_channels?

I'm not sure what your refering to, unless you're pointing
out that the first iteration does nothing.  I forgot to
unscratch it off my todo list when I realized more than i
needs changed.

ciao,
robert



More information about the MPlayer-dev-eng mailing list