typedef struct TwinContext {
AVCodecContext *avctx;
DSPContext dsp;
- MDCTContext mdct_ctx[3];
+ FFTContext mdct_ctx[3];
const ModeTab *mtab;
tctx->dsp.vector_fmul_window(out2,
prev_buf + (bsize-wsize)/2,
buf1 + bsize*j,
- ff_sine_windows[av_log2(wsize) - 7],
+ ff_sine_windows[av_log2(wsize)],
0.0,
wsize/2);
out2 += wsize;
}
- ff_sine_window_init(ff_sine_windows[av_log2(size_m) - 7], size_m );
- ff_sine_window_init(ff_sine_windows[av_log2(size_s/2) - 7], size_s/2);
- ff_sine_window_init(ff_sine_windows[av_log2(mtab->size) - 7], mtab->size);
+ ff_sine_window_init(ff_sine_windows[av_log2(size_m) ], size_m );
+ ff_sine_window_init(ff_sine_windows[av_log2(size_s/2) ], size_s/2);
+ ff_sine_window_init(ff_sine_windows[av_log2(mtab->size)], mtab->size);
}
/**