Revision 26f548bb libavcodec/aacsbr.c

View differences:

libavcodec/aacsbr.c
1155 1155
        }
1156 1156
        z[64+63] = z[32];
1157 1157

  
1158
        ff_imdct_half(mdct, z, z+64);
1158
        mdct->imdct_half(mdct, z, z+64);
1159 1159
        for (k = 0; k < 32; k++) {
1160 1160
            W[1][i][k][0] = -z[63-k];
1161 1161
            W[1][i][k][1] = z[k];
......
1190 1190
                X[0][i][   n] = -X[0][i][n];
1191 1191
                X[0][i][32+n] =  X[1][i][31-n];
1192 1192
            }
1193
            ff_imdct_half(mdct, mdct_buf[0], X[0][i]);
1193
            mdct->imdct_half(mdct, mdct_buf[0], X[0][i]);
1194 1194
            for (n = 0; n < 32; n++) {
1195 1195
                v[     n] =  mdct_buf[0][63 - 2*n];
1196 1196
                v[63 - n] = -mdct_buf[0][62 - 2*n];
......
1199 1199
            for (n = 1; n < 64; n+=2) {
1200 1200
                X[1][i][n] = -X[1][i][n];
1201 1201
            }
1202
            ff_imdct_half(mdct, mdct_buf[0], X[0][i]);
1203
            ff_imdct_half(mdct, mdct_buf[1], X[1][i]);
1202
            mdct->imdct_half(mdct, mdct_buf[0], X[0][i]);
1203
            mdct->imdct_half(mdct, mdct_buf[1], X[1][i]);
1204 1204
            for (n = 0; n < 64; n++) {
1205 1205
                v[      n] = -mdct_buf[0][63 -   n] + mdct_buf[1][  n    ];
1206 1206
                v[127 - n] =  mdct_buf[0][63 -   n] + mdct_buf[1][  n    ];

Also available in: Unified diff