summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-30 16:26:54 +0200
committerwm4 <wm4@nowhere>2013-07-30 16:26:54 +0200
commit7f5303fbb67773b8f6de87949bea989e4e772239 (patch)
tree02a487a2e68cdee98be36dd6bc543f93587c4be1 /video
parenta8153f59d5ef292bcd6806a35417e3d67c323ebf (diff)
downloadmpv-7f5303fbb67773b8f6de87949bea989e4e772239.tar.bz2
mpv-7f5303fbb67773b8f6de87949bea989e4e772239.tar.xz
vd_lavc: fix CONFIG_VDPAU check
CONFIG_VDPAU was just defined to 0, instead of undefined when vdpau was unavailable. I blame the old mplayer code, which apparently can't have consistent conventions.
Diffstat (limited to 'video')
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index ea12126ffb..2fef7c8007 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -99,7 +99,7 @@ const struct vd_lavc_hwdec_functions mp_vd_lavc_vdpau;
const struct vd_lavc_hwdec_functions mp_vd_lavc_vdpau_old;
static const struct hwdec hwdec_list[] = {
-#ifdef CONFIG_VDPAU
+#if CONFIG_VDPAU
#if HAVE_AV_CODEC_NEW_VDPAU_API
{HWDEC_VDPAU, "h264", NULL, &mp_vd_lavc_vdpau},
{HWDEC_VDPAU, "wmv3", NULL, &mp_vd_lavc_vdpau},