Revision 26f548bb libavcodec/atrac3.c

View differences:

libavcodec/atrac3.c
146 146
        /**
147 147
        * Reverse the odd bands before IMDCT, this is an effect of the QMF transform
148 148
        * or it gives better compression to do it this way.
149
        * FIXME: It should be possible to handle this in ff_imdct_calc
149
        * FIXME: It should be possible to handle this in imdct_calc
150 150
        * for that to happen a modification of the prerotation step of
151 151
        * all SIMD code and C code is needed.
152 152
        * Or fix the functions before so they generate a pre reversed spectrum.
......
156 156
            FFSWAP(float, pInput[i], pInput[255-i]);
157 157
    }
158 158

  
159
    ff_imdct_calc(&q->mdct_ctx,pOutput,pInput);
159
    q->mdct_ctx.imdct_calc(&q->mdct_ctx,pOutput,pInput);
160 160

  
161 161
    /* Perform windowing on the output. */
162 162
    dsp.vector_fmul(pOutput, pOutput, mdct_window, 512);

Also available in: Unified diff