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.
This commit is contained in:
wm4 2013-07-30 16:26:54 +02:00
parent a8153f59d5
commit 7f5303fbb6
1 changed files with 1 additions and 1 deletions

View File

@ -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},