summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-06 19:51:15 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-06 19:51:15 +0000
commit77efab6364674cdfc24d6f2f9a699307426ef757 (patch)
tree61b1dc4dff283f7c4569b8f0f206893a1cbd5cd2 /configure
parent20c8c1aea2b19fed6fe6c7478e08a6deb9803db5 (diff)
downloadmpv-77efab6364674cdfc24d6f2f9a699307426ef757.tar.bz2
mpv-77efab6364674cdfc24d6f2f9a699307426ef757.tar.xz
FF_POSTPROCESS shouldn't be defined if there is no ffmpeg's libavcodec found
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2752 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index fa03e705ff..302b62ce18 100755
--- a/configure
+++ b/configure
@@ -1999,17 +1999,20 @@ if test "$_libavcodec" = yes ; then
_lavcdep='libavcodec/libavcodec.a'
_libavcodec='#define USE_LIBAVCODEC'
_libavcodecso='#undef USE_LIBAVCODEC_SO'
+ _ffpostprocess='#define FF_POSTPROCESS'
else
if test "$_libavcodec_so" = yes ; then
_lavclib='-lffmpeg'
_lavcdep=''
_libavcodec='#define USE_LIBAVCODEC'
_libavcodecso='#define USE_LIBAVCODEC_SO'
+ _ffpostprocess='#define FF_POSTPROCESS'
else
_lavclib=''
_lavcdep=''
_libavcodec='#undef USE_LIBAVCODEC'
_libavcodecso='#undef USE_LIBAVCODEC'
+ _ffpostprocess='#undef FF_POSTPROCESS'
fi
fi
@@ -2653,7 +2656,7 @@ $_cssdef
#define MPEG12_POSTPROC
/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
-#define FF_POSTPROCESS
+$_ffpostprocess
#define HAVE_ODIVX_POSTPROCESS