shithub: opus

Download patch

ref: e0c00e27d8decde15560b35d1ec5139fceb53a81
parent: e43a0abe0a908603a71b0c35e8c2307a77a7211f
author: Jean-Marc Valin <[email protected]>
date: Thu Dec 26 22:16:34 EST 2013

Commit 99968ab was causing us to allocate too much stack in the MDCT

--- a/celt/mdct.c
+++ b/celt/mdct.c
@@ -142,7 +142,7 @@
    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 */