Revision 7d485f16 libavcodec/cook.c

View differences:

libavcodec/cook.c
259 259
        q->mlt_window[j] *= sqrt(2.0 / q->samples_per_channel);
260 260

  
261 261
    /* Initialize the MDCT. */
262
    if (ff_mdct_init(&q->mdct_ctx, av_log2(mlt_size)+1, 1)) {
262
    if (ff_mdct_init(&q->mdct_ctx, av_log2(mlt_size)+1, 1, 1.0)) {
263 263
      av_free(q->mlt_window);
264 264
      return -1;
265 265
    }

Also available in: Unified diff