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
This commit is contained in:
pl 2001-11-06 19:51:15 +00:00
parent 20c8c1aea2
commit 77efab6364
1 changed files with 4 additions and 1 deletions

5
configure vendored
View File

@ -1999,17 +1999,20 @@ if test "$_libavcodec" = yes ; then
_lavcdep='libavcodec/libavcodec.a' _lavcdep='libavcodec/libavcodec.a'
_libavcodec='#define USE_LIBAVCODEC' _libavcodec='#define USE_LIBAVCODEC'
_libavcodecso='#undef USE_LIBAVCODEC_SO' _libavcodecso='#undef USE_LIBAVCODEC_SO'
_ffpostprocess='#define FF_POSTPROCESS'
else else
if test "$_libavcodec_so" = yes ; then if test "$_libavcodec_so" = yes ; then
_lavclib='-lffmpeg' _lavclib='-lffmpeg'
_lavcdep='' _lavcdep=''
_libavcodec='#define USE_LIBAVCODEC' _libavcodec='#define USE_LIBAVCODEC'
_libavcodecso='#define USE_LIBAVCODEC_SO' _libavcodecso='#define USE_LIBAVCODEC_SO'
_ffpostprocess='#define FF_POSTPROCESS'
else else
_lavclib='' _lavclib=''
_lavcdep='' _lavcdep=''
_libavcodec='#undef USE_LIBAVCODEC' _libavcodec='#undef USE_LIBAVCODEC'
_libavcodecso='#undef USE_LIBAVCODEC' _libavcodecso='#undef USE_LIBAVCODEC'
_ffpostprocess='#undef FF_POSTPROCESS'
fi fi
fi fi
@ -2653,7 +2656,7 @@ $_cssdef
#define MPEG12_POSTPROC #define MPEG12_POSTPROC
/* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */ /* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
#define FF_POSTPROCESS $_ffpostprocess
#define HAVE_ODIVX_POSTPROCESS #define HAVE_ODIVX_POSTPROCESS