From 77efab6364674cdfc24d6f2f9a699307426ef757 Mon Sep 17 00:00:00 2001 From: pl Date: Tue, 6 Nov 2001 19:51:15 +0000 Subject: [PATCH] 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 --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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