Revision 7d485f16 libavcodec/wmaenc.c

View differences:

libavcodec/wmaenc.c
63 63

  
64 64
    /* init MDCT */
65 65
    for(i = 0; i < s->nb_block_sizes; i++)
66
        ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 0);
66
        ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 0, 1.0);
67 67

  
68 68
    avctx->block_align=
69 69
    s->block_align= avctx->bit_rate*(int64_t)s->frame_len / (avctx->sample_rate*8);

Also available in: Unified diff