diff --git a/libcelt/celt.c b/libcelt/celt.c index 002fd083..2019cc48 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -674,6 +674,7 @@ int celt_encode_float(CELTEncoder * restrict st, const float * pcm, float * opti const int C = CHANNELS(st->mode); const int N = st->block_size; VARDECL(celt_int16_t, in); + SAVE_STACK; ALLOC(in, C*N, celt_int16_t); for (j=0;jmode); const int N = st->block_size; - + SAVE_STACK; ALLOC(in, C*N, celt_sig_t); for (j=0;jmode); const int N = st->block_size; VARDECL(celt_int16_t, out); + SAVE_STACK; ALLOC(out, C*N, celt_int16_t); ret=celt_decode(st, data, len, out); for (j=0;jmode); const int N = st->block_size; - + SAVE_STACK; ALLOC(out, C*N, celt_sig_t); ret=celt_decode_float(st, data, len, out); @@ -1073,6 +1076,7 @@ int celt_decode(CELTDecoder * restrict st, unsigned char *data, int len, celt_in for (j=0;j