Support for getting (i)MDCT output multiplied by a constant scaling factor.
[ffmpeg.git] / libavcodec / wmaenc.c
index a8ba6b0..95e5929 100644 (file)
@@ -63,7 +63,7 @@ static int encode_init(AVCodecContext * avctx){
 
     /* init MDCT */
     for(i = 0; i < s->nb_block_sizes; i++)
-        ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 0);
+        ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 0, 1.0);
 
     avctx->block_align=
     s->block_align= avctx->bit_rate*(int64_t)s->frame_len / (avctx->sample_rate*8);