summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--libvo/video_out.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 93242659b8..4ff74eb382 100755
--- a/configure
+++ b/configure
@@ -4236,7 +4236,7 @@ if test "$_xvmc" = yes ; then
_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
diff --git a/libvo/video_out.c b/libvo/video_out.c
index c65f3a5710..e277a35c55 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -225,7 +225,7 @@ const vo_functions_t* const video_out_drivers[] =
#endif
&video_out_null,
// should not be auto-selected
-#ifdef CONFIG_XVMC
+#if CONFIG_XVMC
&video_out_xvmc,
#endif
&video_out_mpegpes,