Revision 26f548bb libavcodec/rdft.c

View differences:

libavcodec/rdft.c
65 65
    const FFTSample *tsin = s->tsin;
66 66

  
67 67
    if (!s->inverse) {
68
        ff_fft_permute(&s->fft, (FFTComplex*)data);
69
        ff_fft_calc(&s->fft, (FFTComplex*)data);
68
        s->fft.fft_permute(&s->fft, (FFTComplex*)data);
69
        s->fft.fft_calc(&s->fft, (FFTComplex*)data);
70 70
    }
71 71
    /* i=0 is a special case because of packing, the DC term is real, so we
72 72
       are going to throw the N/2 term (also real) in with it. */
......
91 91
    if (s->inverse) {
92 92
        data[0] *= k1;
93 93
        data[1] *= k1;
94
        ff_fft_permute(&s->fft, (FFTComplex*)data);
95
        ff_fft_calc(&s->fft, (FFTComplex*)data);
94
        s->fft.fft_permute(&s->fft, (FFTComplex*)data);
95
        s->fft.fft_calc(&s->fft, (FFTComplex*)data);
96 96
    }
97 97
}
98 98

  

Also available in: Unified diff