Revision 80ba1ddb libavcodec/ac3dec.c

View differences:

libavcodec/ac3dec.c
628 628
            for(i=0; i<128; i++)
629 629
                x[i] = s->transform_coeffs[ch][2*i];
630 630
            ff_imdct_half(&s->imdct_256, s->tmp_output, x);
631
            s->dsp.vector_fmul_window(s->output[ch-1], s->delay[ch-1], s->tmp_output, s->window, 0, 128);
631
            s->dsp.vector_fmul_window(s->output[ch-1], s->delay[ch-1], s->tmp_output, s->window, 128);
632 632
            for(i=0; i<128; i++)
633 633
                x[i] = s->transform_coeffs[ch][2*i+1];
634 634
            ff_imdct_half(&s->imdct_256, s->delay[ch-1], x);
635 635
        } else {
636 636
            ff_imdct_half(&s->imdct_512, s->tmp_output, s->transform_coeffs[ch]);
637
            s->dsp.vector_fmul_window(s->output[ch-1], s->delay[ch-1], s->tmp_output, s->window, 0, 128);
637
            s->dsp.vector_fmul_window(s->output[ch-1], s->delay[ch-1], s->tmp_output, s->window, 128);
638 638
            memcpy(s->delay[ch-1], s->tmp_output+128, 128*sizeof(float));
639 639
        }
640 640
    }

Also available in: Unified diff