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
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/laplace-test.c2
-rw-r--r--tests/mdct-test.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/laplace-test.c b/tests/laplace-test.c
index 4c0a22e..65b21e0 100644
--- a/tests/laplace-test.c
+++ b/tests/laplace-test.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "laplace.h"
+#include "stack_alloc.h"
int main(void)
{
@@ -14,6 +15,7 @@ int main(void)
ec_dec dec;
ec_byte_buffer buf;
int val[10000], decay[10000];
+ ALLOC_STACK;
ec_byte_writeinit(&buf);
ec_enc_init(&enc,&buf);
diff --git a/tests/mdct-test.c b/tests/mdct-test.c
index 8b3a7bb..5cd95ee 100644
--- a/tests/mdct-test.c
+++ b/tests/mdct-test.c
@@ -4,6 +4,7 @@
#include <stdio.h>
#include "mdct.h"
+#include "stack_alloc.h"
int ret = 0;
void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse)
@@ -114,6 +115,7 @@ void test1d(int nfft,int isinverse)
int main(int argc,char ** argv)
{
+ ALLOC_STACK;
if (argc>1) {
int k;
for (k=1;k<argc;++k) {