Revision 26f548bb libavcodec/wmaprodec.c

View differences:

libavcodec/wmaprodec.c
1222 1222
            get_bits_count(&s->gb) - s->subframe_offset);
1223 1223

  
1224 1224
    if (transmit_coeffs) {
1225
        FFTContext *mdct = &s->mdct_ctx[av_log2(subframe_len) - WMAPRO_BLOCK_MIN_BITS];
1225 1226
        /** reconstruct the per channel data */
1226 1227
        inverse_channel_transform(s);
1227 1228
        for (i = 0; i < s->channels_for_cur_subframe; i++) {
......
1246 1247
                                          quant, end - start);
1247 1248
            }
1248 1249

  
1249
            /** apply imdct (ff_imdct_half == DCTIV with reverse) */
1250
            ff_imdct_half(&s->mdct_ctx[av_log2(subframe_len) - WMAPRO_BLOCK_MIN_BITS],
1251
                          s->channel[c].coeffs, s->tmp);
1250
            /** apply imdct (imdct_half == DCTIV with reverse) */
1251
            mdct->imdct_half(mdct, s->channel[c].coeffs, s->tmp);
1252 1252
        }
1253 1253
    }
1254 1254

  

Also available in: Unified diff