ref: bb4f63f4a077814ab79b66b47fdad5944463248c
parent: 2b59d4fad925d8cd7ad8223c42a01fb1a4d1d8c4
author: Benjamin Jemlich <[email protected]>
date: Mon Jun 21 10:31:00 EDT 2010
Compile fix for MSVC
--- a/libcelt/mdct.c
+++ b/libcelt/mdct.c
@@ -98,12 +98,12 @@
{
int i;
int N, N2, N4;
+ kiss_twiddle_scalar sine;
VARDECL(kiss_fft_scalar, f);
SAVE_STACK;
N = l->n;
N2 = N>>1;
N4 = N>>2;
- kiss_twiddle_scalar sine;
ALLOC(f, N2, kiss_fft_scalar);
/* sin(x) ~= x here */
#ifdef FIXED_POINT
@@ -201,6 +201,7 @@
{
int i;
int N, N2, N4;
+ kiss_twiddle_scalar sine;
VARDECL(kiss_fft_scalar, f);
VARDECL(kiss_fft_scalar, f2);
SAVE_STACK;
@@ -207,7 +208,6 @@
N = l->n;
N2 = N>>1;
N4 = N>>2;
- kiss_twiddle_scalar sine;
ALLOC(f, N2, kiss_fft_scalar);
ALLOC(f2, N2, kiss_fft_scalar);
/* sin(x) ~= x here */