ref: f62b3bb96d2aa3886f56342e596167a9592fb3f5
parent: 9bac8c17d57ea99192de09f8b97300b3dee0422f
author: Jean-Marc Valin <[email protected]>
date: Wed Mar 9 06:56:29 EST 2011
Fix for global stack
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -915,6 +915,7 @@
int anti_collapse_rsv;
int anti_collapse_on=0;
int silence=0;
+ ALLOC_STACK;
SAVE_STACK;
if (nbCompressedBytes<2 || pcm==NULL)
@@ -2204,7 +2205,7 @@
int anti_collapse_on=0;
int silence;
const int C = CHANNELS(st->stream_channels);
-
+ ALLOC_STACK;
SAVE_STACK;
if (len<0 || len>1275 || pcm==NULL)