Revision 26f548bb libavcodec/aacenc.c

View differences:

libavcodec/aacenc.c
250 250
            for (i = 0; i < 1024; i++)
251 251
                sce->saved[i] = audio[i * chans];
252 252
        }
253
        ff_mdct_calc(&s->mdct1024, sce->coeffs, output);
253
        s->mdct1024.mdct_calc(&s->mdct1024, sce->coeffs, output);
254 254
    } else {
255 255
        for (k = 0; k < 1024; k += 128) {
256 256
            for (i = 448 + k; i < 448 + k + 256; i++)
......
259 259
                                         : audio[(i-1024)*chans];
260 260
            s->dsp.vector_fmul        (output,     output, k ?  swindow : pwindow, 128);
261 261
            s->dsp.vector_fmul_reverse(output+128, output+128, swindow, 128);
262
            ff_mdct_calc(&s->mdct128, sce->coeffs + k, output);
262
            s->mdct128.mdct_calc(&s->mdct128, sce->coeffs + k, output);
263 263
        }
264 264
        for (i = 0; i < 1024; i++)
265 265
            sce->saved[i] = audio[i * chans];

Also available in: Unified diff