[Mplayer-cvslog] CVS: main configure,1.227,1.228

pl pl at mplayer.dev.hu
Tue Nov 6 20:51:45 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv32401

Modified Files:
	configure 
Log Message:
FF_POSTPROCESS shouldn't be defined if there is no ffmpeg's libavcodec found


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- configure	6 Nov 2001 16:56:27 -0000	1.227
+++ configure	6 Nov 2001 19:51:15 -0000	1.228
@@ -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
 




More information about the MPlayer-cvslog mailing list