changeset 2751:69a77510f0eb

FF_POSTPROCESS shouldn't be defined if there is no ffmpeg's libavcodec found
author pl
date Tue, 06 Nov 2001 19:51:15 +0000
parents 9ef09e232505
children b7eb3840b134
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Nov 06 19:26:22 2001 +0000
+++ b/configure	Tue Nov 06 19:51:15 2001 +0000
@@ -1999,17 +1999,20 @@
    _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 @@
 #define MPEG12_POSTPROC
 
 /* Define this to enable image postprocessing in libavcodec (requires FAST cpu!) */
-#define FF_POSTPROCESS
+$_ffpostprocess
 
 #define HAVE_ODIVX_POSTPROCESS