From f62b3bb96d2aa3886f56342e596167a9592fb3f5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Wed, 9 Mar 2011 11:56:29 -0500 Subject: Fix for global stack --- libcelt/celt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcelt/celt.c b/libcelt/celt.c index 47697c0..545fd48 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -915,6 +915,7 @@ int celt_encode_with_ec_float(CELTEncoder * restrict st, const celt_sig * pcm, i 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 celt_decode_with_ec_float(CELTDecoder * restrict st, const unsigned char *da 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) -- cgit v1.2.3