summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-10 11:03:38 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-10 11:03:38 +0000
commit407c5eaf780f563268513227c46279ce409dff9a (patch)
tree7213afbb83867c249a3926be200b97c632549cff /configure
parentbc722a523616df12675d0ff51e3ee269316602f3 (diff)
downloadmpv-407c5eaf780f563268513227c46279ce409dff9a.tar.bz2
mpv-407c5eaf780f563268513227c46279ce409dff9a.tar.xz
Fix compilation with -disable-mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23758 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index cdae93293a..b79a743832 100755
--- a/configure
+++ b/configure
@@ -6453,12 +6453,13 @@ fi
echocheck "mencoder"
_mencoder_flag='#undef HAVE_MENCODER'
+_def_encoders='#undef CONFIG_ENCODERS'
if test "$_mencoder" = yes ; then
_mencoder_flag='#define HAVE_MENCODER'
_def_muxers='#define CONFIG_MUXERS 1'
+ _def_encoders='#define CONFIG_ENCODERS 1'
else
- # mpeg1video for vf_lavc, snow for vf_uspp and vf_mcdeint
- _libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER"
+ _libavencoders=""
_libavmuxers=""
fi
echores "$_mencoder"
@@ -7934,7 +7935,7 @@ $_def_libavutil_so
/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
-#define CONFIG_ENCODERS 1
+$_def_encoders
/* Use libavformat's demuxers */
#define CONFIG_DEMUXERS 1