mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
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
This commit is contained in:
parent
d6ed4677ca
commit
8bfdce3a83
11
configure
vendored
11
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user