cosmetics: Group all FFmpeg settings together in config.mak.
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 31 Mar 2008 17:04:06 +0000 (17:04 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 31 Mar 2008 17:04:06 +0000 (17:04 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@26308 b3059339-0415-0410-9bf9-f77b7e298cf2

configure

index bb4cb43..fd7a711 100755 (executable)
--- a/configure
+++ b/configure
@@ -7725,10 +7725,6 @@ EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm
 EXTRALIBS_MPLAYER = $_libs_mplayer
 EXTRALIBS_MENCODER = $_libs_mencoder
 
-CONFIG_MLIB = $_mlib
-HAVE_PTHREADS = $_pthreads
-HAVE_W32THREADS = $_w32threads
-
 HAVE_XVMC_ACCEL = $_xvmc
 
 HAVE_SYS_MMAN_H = $_mman
@@ -7742,13 +7738,6 @@ NEED_STRSEP  = $_need_strsep
 NEED_SWAB    = $_need_swab
 NEED_VSSCANF = $_need_vsscanf
 
-# for FFmpeg
-SRC_PATH=..
-BUILD_ROOT=..
-LIBPREF=lib
-LIBSUF=.a
-LIBNAME=\$(LIBPREF)\$(NAME)\$(LIBSUF)
-
 # audio output
 OSS = $_ossaudio
 ALSA = $_alsa
@@ -7780,18 +7769,6 @@ QTX_CODECS = $_qtx
 QTX_EMULATION = $_qtx_emulation
 REAL_CODECS = $_real
 XANIM_CODECS = $_xanim
-LIBAVUTIL = $_libavutil
-LIBAVUTIL_A = $_libavutil_a
-LIBAVUTIL_SO = $_libavutil_so
-LIBAVCODEC = $_libavcodec
-LIBAVCODEC_A = $_libavcodec_a
-LIBAVCODEC_SO = $_libavcodec_so
-LIBAVFORMAT = $_libavformat
-LIBAVFORMAT_A = $_libavformat_a
-LIBAVFORMAT_SO = $_libavformat_so
-LIBPOSTPROC = $_libpostproc
-LIBPOSTPROC_A = $_libpostproc_a
-LIBPOSTPROC_SO = $_libpostproc_so
 ZORAN = $_zr
 LIBLZO = $_liblzo
 LIBDV = $_libdv
@@ -7821,26 +7798,6 @@ QUARTZ = $_quartz
 TOOLAME=$_toolame
 TWOLAME=$_twolame
 FAAC=$_faac
-CONFIG_LIBAMR=$_libamr
-CONFIG_LIBAMR_NB=$_libamr_nb
-CONFIG_LIBAMR_WB=$_libamr_wb
-`echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
-`echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
-`echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
-`echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
-`echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
-`echo $_libavbsfs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
-CONFIG_LIBFAAC=$_lavc_faac
-CONFIG_LIBMP3LAME=$_lavc_mp3lame
-CONFIG_LIBVORBIS=$_libvorbis
-CONFIG_LIBXVID=$_lavc_xvid
-CONFIG_LIBX264=$_lavc_x264
-CONFIG_ZLIB=$_zlib
-CONFIG_GPL=yes
-CONFIG_ENCODERS=yes
-CONFIG_MUXERS=$_mencoder
-# Prevent building libavcodec/imgresample.c with conflicting symbols
-CONFIG_SWSCALE=yes
 RADIO=$_radio
 RADIO_CAPTURE=$_radio_capture
 VIDIX_CYBERBLADE=$_vidix_drv_cyberblade
@@ -7886,6 +7843,52 @@ AO_SRCS = $_aosrc
 # --- libaf stuff ---
 AF_SRCS = $_afsrc
 
+# FFmpeg
+LIBAVUTIL = $_libavutil
+LIBAVUTIL_A = $_libavutil_a
+LIBAVUTIL_SO = $_libavutil_so
+LIBAVCODEC = $_libavcodec
+LIBAVCODEC_A = $_libavcodec_a
+LIBAVCODEC_SO = $_libavcodec_so
+LIBAVFORMAT = $_libavformat
+LIBAVFORMAT_A = $_libavformat_a
+LIBAVFORMAT_SO = $_libavformat_so
+LIBPOSTPROC = $_libpostproc
+LIBPOSTPROC_A = $_libpostproc_a
+LIBPOSTPROC_SO = $_libpostproc_so
+
+SRC_PATH=..
+BUILD_ROOT=..
+LIBPREF=lib
+LIBSUF=.a
+LIBNAME=\$(LIBPREF)\$(NAME)\$(LIBSUF)
+
+CONFIG_ENCODERS=yes
+CONFIG_GPL=yes
+CONFIG_MUXERS=$_mencoder
+CONFIG_LIBAMR=$_libamr
+CONFIG_LIBAMR_NB=$_libamr_nb
+CONFIG_LIBAMR_WB=$_libamr_wb
+CONFIG_LIBFAAC=$_lavc_faac
+CONFIG_LIBMP3LAME=$_lavc_mp3lame
+CONFIG_LIBVORBIS=$_libvorbis
+CONFIG_LIBX264=$_lavc_x264
+CONFIG_LIBXVID=$_lavc_xvid
+CONFIG_MLIB = $_mlib
+# Prevent building libavcodec/imgresample.c with conflicting symbols
+CONFIG_SWSCALE=yes
+CONFIG_ZLIB=$_zlib
+
+HAVE_PTHREADS = $_pthreads
+HAVE_W32THREADS = $_w32threads
+
+`echo $_libavdecoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+`echo $_libavencoders | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+`echo $_libavparsers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+`echo $_libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+`echo $_libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+`echo $_libavbsfs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/'`
+
 EOF
 
 #############################################################################