summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-26 02:21:55 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-26 02:21:55 +0000
commit8bfdce3a8350a7e7f54fcdecc612ecc0d9a544a9 (patch)
treed66cdc3c5456106e45ee7383f568a90f67cadcaf /configure
parentd6ed4677cad0e6c999889a71f3be1c1f27b6714f (diff)
downloadmpv-8bfdce3a8350a7e7f54fcdecc612ecc0d9a544a9.tar.bz2
mpv-8bfdce3a8350a7e7f54fcdecc612ecc0d9a544a9.tar.xz
configure: Set CONFIG_MDCT and CONFIG_GOLOMB for libavcodec
After the latest FFmpeg changes these must be set if certain codecs are enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27828 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure b/configure
index 2a255e755f..b0c4685960 100755
--- a/configure
+++ b/configure
@@ -7982,8 +7982,11 @@ LIBSUF=.a
LIBNAME=\$(LIBPREF)\$(NAME)\$(LIBSUF)
CONFIG_ENCODERS=yes
-# Some FFmpeg codecs depend on this. Enable it unconditionally for now.
+# Some FFmpeg codecs depend on these. Enable them unconditionally for now.
CONFIG_FFT=yes
+CONFIG_MDCT=yes
+CONFIG_GOLOMB=yes
+
CONFIG_GPL=yes
CONFIG_LIBAMR=$_libamr
CONFIG_LIBAMR_NB=$_libamr_nb
@@ -8412,9 +8415,13 @@ $_def_threads
#define ENABLE_SMALL 0
#define ENABLE_GRAY 0
-/* Some FFmpeg codecs depend on this. Enable it unconditionally for now. */
+/* Some FFmpeg codecs depend on these. Enable them unconditionally for now. */
#define CONFIG_FFT 1
#define ENABLE_FFT 1
+#define CONFIG_MDCT 1
+#define ENABLE_MDCT 1
+#define CONFIG_GOLOMB 1
+#define ENABLE_GOLOMB 1
/* Use these registers in FFmpeg x86 inline asm. No proper detection yet. */
#define HAVE_EBX_AVAILABLE 1