From eedb42282acee422d311919c2979a2353cd15a22 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Sun, 24 Oct 2010 00:22:45 -0400 Subject: [PATCH] Further simplications to compute_mdcts() --- libcelt/celt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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