Commit 99968ab was causing us to allocate too much stack in the MDCT
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 27 Dec 2013 08:16:34 +0000 (03:16 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 27 Dec 2013 08:16:34 +0000 (03:16 -0500)
celt/mdct.c

index 500a628..10ec802 100644 (file)
@@ -142,7 +142,7 @@ void clt_mdct_forward(const mdct_lookup *l, kiss_fft_scalar *in, kiss_fft_scalar
    N4 = N>>2;
 
    ALLOC(f, N2, kiss_fft_scalar);
-   ALLOC(f2, N2, kiss_fft_cpx);
+   ALLOC(f2, N4, kiss_fft_cpx);
 
    /* Consider the input to be composed of four blocks: [a, b, c, d] */
    /* Window, shuffle, fold */