diff --git a/libcelt/celt.c b/libcelt/celt.c index e1191d4d..e01dc930 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -253,7 +253,6 @@ static void compute_mdcts(const CELTMode *mode, int shortBlocks, celt_sig * rest int N = mode->shortMdctSize<shortMdctSize; B = shortBlocks; } - ALLOC(x, N+overlap, celt_word32); ALLOC(tmp, N, celt_word32); for (c=0;cmdct, x, tmp, mode->window, overlap, shortBlocks ? mode->maxLM : mode->maxLM-LM); + clt_mdct_forward(&mode->mdct, in+c*(B*N+overlap)+b*N, tmp, mode->window, overlap, shortBlocks ? mode->maxLM : mode->maxLM-LM); /* Interleaving the sub-frames */ for (j=0;j