Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@octasic.com>2011-03-09 19:56:29 +0300
committerJean-Marc Valin <jean-marc.valin@octasic.com>2011-03-09 19:56:29 +0300
commitf62b3bb96d2aa3886f56342e596167a9592fb3f5 (patch)
tree64b94a7e7ab40f3b20f8900f88c3c06439a55666
parent9bac8c17d57ea99192de09f8b97300b3dee0422f (diff)
Fix for global stack
-rw-r--r--libcelt/celt.c3
1 files changed, 2 insertions, 1 deletions
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)