summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-06 22:56:42 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-06 22:56:42 +0000
commit6630c983d68c646f829d00b36fac80accf8028d3 (patch)
tree196e27e73ac6d262da8694ac3ae4737ab07ab436 /configure
parent6b48b82de628c3771fd3cac0118cab5480bb946a (diff)
downloadmpv-6630c983d68c646f829d00b36fac80accf8028d3.tar.bz2
mpv-6630c983d68c646f829d00b36fac80accf8028d3.tar.xz
Always enable x264 in libavcodec if x264 is enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26678 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure b/configure
index 89f0ff11cc..301afead6a 100755
--- a/configure
+++ b/configure
@@ -6579,17 +6579,10 @@ fi
if test "$_x264" = yes ; then
_def_x264='#define HAVE_X264 1'
_codecmodules="x264 $_codecmodules"
- if echo $_libavencoders | grep -q X264 ; then
- _lavc_x264=yes
_def_lavc_x264='#define CONFIG_LIBX264 1'
_libs_mplayer="$_libs_mplayer $_ld_x264"
_libavencoders="$_libavencoders LIBX264_ENCODER"
- else
- _lavc_x264=no
- _def_lavc_x264='#undef CONFIG_LIBX264'
- fi
else
- _lavc_x264=no
_def_x264='#undef HAVE_X264'
_def_lavc_x264='#undef CONFIG_LIBX264'
_nocodecmodules="x264 $_nocodecmodules"
@@ -7768,7 +7761,7 @@ CONFIG_LIBAMR_WB=$_libamr_wb
CONFIG_LIBFAAC=$_lavc_faac
CONFIG_LIBMP3LAME=$_lavc_mp3lame
CONFIG_LIBVORBIS=$_libvorbis
-CONFIG_LIBX264=$_lavc_x264
+CONFIG_LIBX264=$_x264
CONFIG_LIBXVID=$_lavc_xvid
CONFIG_MLIB = $_mlib
# Prevent building libavcodec/imgresample.c with conflicting symbols