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

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-04-18 11:29:56 +0400
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-04-18 11:29:56 +0400
commitf7cec83c59772f18a626ccf2e2fce88bc6500fc5 (patch)
treed59b4c306db1398e33fe27927a710382cc2fb98e /tests
parentba8295241c680785c146389869de527b6e3989bf (diff)
pseudo-stack no longer checks on every function entry whether it has been
allocated
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) {