changeset 28367:e8bae856d691

Make CONFIG_XVMC a proper FFmpeg-style 0/1 definition.
author diego
date Fri, 30 Jan 2009 23:58:07 +0000
parents 338fc5d8cbe0
children c616bf5d520b
files configure libvo/video_out.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Jan 30 23:47:18 2009 +0000
+++ b/configure	Fri Jan 30 23:58:07 2009 +0000
@@ -4236,7 +4236,7 @@
   _vomodules="xvmc $_vomodules"
   _res_comment="using $_xvmclib"
 else
-  _def_xvmc='#undef CONFIG_XVMC'
+  _def_xvmc='#define CONFIG_XVMC 0'
   _novomodules="xvmc $_novomodules"
   _libavdecoders=`echo $_libavdecoders | sed -e s/MPEG_XVMC_DECODER// `
 fi
--- a/libvo/video_out.c	Fri Jan 30 23:47:18 2009 +0000
+++ b/libvo/video_out.c	Fri Jan 30 23:58:07 2009 +0000
@@ -225,7 +225,7 @@
 #endif
         &video_out_null,
         // should not be auto-selected
-#ifdef CONFIG_XVMC
+#if CONFIG_XVMC
         &video_out_xvmc,
 #endif
         &video_out_mpegpes,