From b5ab9b59e02f186c207638489c2d17b73238904f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 11 Feb 2010 23:40:45 +0000 Subject: [PATCH] Fix build with --disable-mdct Originally committed as revision 21764 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/fft.c | 2 ++ 1 file changed, 2 insertions(+) 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;