# HG changeset patch # User uau # Date 1224893282 0 # Node ID b33d806712936c21d5673bb3f5dc253605608d26 # Parent 0f190fe6aeb49f1c5e9e996ddc015c4bad3a67d4 configure: Set CONFIG_FFT to fix libavcodec compilation After the latest FFmpeg changes some codecs require that CONFIG_FFT is also set if the codec is enabled. This commit enables CONFIG_FFT unconditionally though in principle all the codecs requiring it could be disabled. diff -r 0f190fe6aeb4 -r b33d80671293 configure --- a/configure Sat Oct 25 00:07:59 2008 +0000 +++ b/configure Sat Oct 25 00:08:02 2008 +0000 @@ -7999,6 +7999,8 @@ # Prevent building libavcodec/imgresample.c with conflicting symbols CONFIG_SWSCALE=yes CONFIG_ZLIB=$_zlib +# Some FFmpeg codecs depend on this. Enable it unconditionally for now. +CONFIG_FFT=yes HAVE_PTHREADS = $_pthreads HAVE_W32THREADS = $_w32threads @@ -8417,6 +8419,11 @@ #define CONFIG_DEMUXERS 1 #define ENABLE_DEMUXERS 1 + +/* Some FFmpeg codecs depend on this. Enable it unconditionally for now. */ +#define CONFIG_FFT 1 +#define ENABLE_FFT 1 + $_def_muxers /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */