comparison configure @ 27789:b33d80671293

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.
author uau
date Sat, 25 Oct 2008 00:08:02 +0000
parents e3d6122edf03
children 555dac8a7cff
comparison
equal deleted inserted replaced
27788:0f190fe6aeb4 27789:b33d80671293
7997 CONFIG_MLIB = $_mlib 7997 CONFIG_MLIB = $_mlib
7998 CONFIG_POSTPROC = yes 7998 CONFIG_POSTPROC = yes
7999 # Prevent building libavcodec/imgresample.c with conflicting symbols 7999 # Prevent building libavcodec/imgresample.c with conflicting symbols
8000 CONFIG_SWSCALE=yes 8000 CONFIG_SWSCALE=yes
8001 CONFIG_ZLIB=$_zlib 8001 CONFIG_ZLIB=$_zlib
8002 # Some FFmpeg codecs depend on this. Enable it unconditionally for now.
8003 CONFIG_FFT=yes
8002 8004
8003 HAVE_PTHREADS = $_pthreads 8005 HAVE_PTHREADS = $_pthreads
8004 HAVE_W32THREADS = $_w32threads 8006 HAVE_W32THREADS = $_w32threads
8005 8007
8006 `echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'` 8008 `echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
8415 #define CONFIG_ENCODERS 1 8417 #define CONFIG_ENCODERS 1
8416 #define ENABLE_ENCODERS 1 8418 #define ENABLE_ENCODERS 1
8417 8419
8418 #define CONFIG_DEMUXERS 1 8420 #define CONFIG_DEMUXERS 1
8419 #define ENABLE_DEMUXERS 1 8421 #define ENABLE_DEMUXERS 1
8422
8423 /* Some FFmpeg codecs depend on this. Enable it unconditionally for now. */
8424 #define CONFIG_FFT 1
8425 #define ENABLE_FFT 1
8426
8420 $_def_muxers 8427 $_def_muxers
8421 8428
8422 /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */ 8429 /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */
8423 #define HAVE_EBX_AVAILABLE 1 8430 #define HAVE_EBX_AVAILABLE 1
8424 #ifndef MP_DEBUG 8431 #ifndef MP_DEBUG