aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fft.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-02-11 23:40:45 +0000
committerMåns Rullgård <mans@mansr.com>2010-02-11 23:40:45 +0000
commitb5ab9b59e02f186c207638489c2d17b73238904f (patch)
tree9e0df2265cd72bf9b7798cdcc098e28e5642f89c /libavcodec/fft.c
parent084cbbaab4bf55b064919a989161627773138ef7 (diff)
downloadffmpeg-b5ab9b59e02f186c207638489c2d17b73238904f.tar.gz
Fix build with --disable-mdct
Originally committed as revision 21764 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/fft.c')
-rw-r--r--libavcodec/fft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index b46e72a6d8..ef596ef564 100644
--- a/libavcodec/fft.c
+++ b/libavcodec/fft.c
@@ -99,9 +99,11 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
s->fft_permute = ff_fft_permute_c;
s->fft_calc = ff_fft_calc_c;
+#if CONFIG_MDCT
s->imdct_calc = ff_imdct_calc_c;
s->imdct_half = ff_imdct_half_c;
s->mdct_calc = ff_mdct_calc_c;
+#endif
s->exptab1 = NULL;
s->split_radix = 1;