Revision 26f548bb libavcodec/ac3dec.c

View differences:

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

Also available in: Unified diff