[SCM] libav/experimental: Fix build with --disable-mdct
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:59:49 UTC 2013
The following commit has been merged in the experimental branch:
commit b5ab9b59e02f186c207638489c2d17b73238904f
Author: Måns Rullgård <mans at mansr.com>
Date: Thu Feb 11 23:40:45 2010 +0000
Fix build with --disable-mdct
Originally committed as revision 21764 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index b46e72a..ef596ef 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list