aboutsummaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2008-03-26 13:04:33 +0000
committerJamie Bullock <jamie@postlude.co.uk>2008-03-26 13:04:33 +0000
commitd817fc9b42b0c04d6452159ca63f5a30834f5489 (patch)
tree94eb92eec04d06020bcb08e59e8da541d3a8f8ee /src/init.c
parent398afce1d37bad97d50a20aa5406a4dc6327912d (diff)
downloadLibXtract-d817fc9b42b0c04d6452159ca63f5a30834f5489.tar.gz
LibXtract-d817fc9b42b0c04d6452159ca63f5a30834f5489.tar.bz2
LibXtract-d817fc9b42b0c04d6452159ca63f5a30834f5489.zip
- Fixed build fail if --enable-fft not specified
- Fixed doxygen build so that it includes libxtract.h - Doxygen tweaks
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 234b80e..64b4a0a 100644
--- a/src/init.c
+++ b/src/init.c
@@ -285,8 +285,10 @@ __attribute__((constructor)) void init()
void _init()ยท
#endif
{
+#ifdef XTRACT_FFT
fft_plans.spectrum_plan = NULL;
fft_plans.autocorrelation_fft_plan_1 = NULL;
fft_plans.autocorrelation_fft_plan_2 = NULL;
fft_plans.dct_plan = NULL;
+#endif
}