shithub: opus

Download patch

ref: 7c422653f3fd27efd1b6e40e4f6bb438bc9de2ab
parent: da1156af1c7af797f806a4ce086f0b8d0d748431
author: Gregory Maxwell <[email protected]>
date: Tue Jun 30 23:50:44 EDT 2009

Fix compilation of test cases with fixed-debug enabled

--- a/tests/dft-test.c
+++ b/tests/dft-test.c
@@ -14,6 +14,9 @@
 #define M_PI 3.141592653
 #endif
 
+#ifdef FIXED_DEBUG  
+long long celt_mips=0;
+#endif
 int ret = 0;
 
 void check(kiss_fft_cpx  * in,kiss_fft_cpx  * out,int nfft,int isinverse)
--- a/tests/mathops-test.c
+++ b/tests/mathops-test.c
@@ -12,6 +12,9 @@
 #define WORD "%f"
 #endif
 
+#ifdef FIXED_DEBUG  
+long long celt_mips=0;
+#endif
 int ret = 0;
 
 void testdiv(void)
--- a/tests/mdct-test.c
+++ b/tests/mdct-test.c
@@ -14,6 +14,9 @@
 #define M_PI 3.141592653
 #endif
 
+#ifdef FIXED_DEBUG  
+long long celt_mips=0;
+#endif
 int ret = 0;
 void check(kiss_fft_scalar  * in,kiss_fft_scalar  * out,int nfft,int isinverse)
 {
--- a/tests/real-fft-test.c
+++ b/tests/real-fft-test.c
@@ -12,6 +12,9 @@
 #include "../libcelt/kiss_fft.c"
 #include "../libcelt/kiss_fftr.c"
 
+#ifdef FIXED_DEBUG
+long long celt_mips=0;
+#endif
 int ret=0;
 
 static