0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27823 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2008-10-25 00:08:02 +00:00
parent 1a089681fc
commit ff6e6ec743

7
configure vendored
View File

@ -7999,6 +7999,8 @@ CONFIG_POSTPROC = yes
# Prevent building libavcodec/imgresample.c with conflicting symbols # Prevent building libavcodec/imgresample.c with conflicting symbols
CONFIG_SWSCALE=yes CONFIG_SWSCALE=yes
CONFIG_ZLIB=$_zlib CONFIG_ZLIB=$_zlib
# Some FFmpeg codecs depend on this. Enable it unconditionally for now.
CONFIG_FFT=yes
HAVE_PTHREADS = $_pthreads HAVE_PTHREADS = $_pthreads
HAVE_W32THREADS = $_w32threads HAVE_W32THREADS = $_w32threads
@ -8417,6 +8419,11 @@ $_def_threads
#define CONFIG_DEMUXERS 1 #define CONFIG_DEMUXERS 1
#define ENABLE_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 $_def_muxers
/* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */ /* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */