commit | 7e983194a3ac7c775c7d370a5bf6d71bf68c2645 | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jean-marc.valin@octasic.com> | Tue Feb 01 18:00:29 2011 -0500 |
committer | Jean-Marc Valin <jean-marc.valin@octasic.com> | Tue Feb 01 18:00:29 2011 -0500 |
tree | dce04ffda9f9c5788dd9225d0db62e976b2acf0b | |
parent | 2799c29792ebaa7c01e22457013000fecb18169e [diff] [blame] |
Fixing the global stack -- and an overflow in collapse_mask
diff --git a/libcelt/modes.c b/libcelt/modes.c index ddb5071..259a49b 100644 --- a/libcelt/modes.c +++ b/libcelt/modes.c
@@ -286,11 +286,13 @@ scanf("%d ", band_allocation+i); } #endif +#ifdef CUSTOM_MODES ALLOC_STACK; #if !defined(VAR_ARRAYS) && !defined(USE_ALLOCA) if (global_stack==NULL) goto failure; #endif +#endif #ifndef CUSTOM_MODES_ONLY for (i=0;i<TOTAL_MODES;i++)