]> git.sesse.net Git - ffmpeg/commitdiff
Fix build with --disable-mdct
authorMåns Rullgård <mans@mansr.com>
Thu, 11 Feb 2010 23:40:45 +0000 (23:40 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 11 Feb 2010 23:40:45 +0000 (23:40 +0000)
Originally committed as revision 21764 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/fft.c

index b46e72a6d8fc53e590151e223908146bd5b9b4a3..ef596ef56400d386784e1a14ae7d01e4a78f0805 100644 (file)
@@ -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;