summaryrefslogtreecommitdiff
path: root/avconv_opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-04-28 23:00:38 +0200
committerAnton Khirnov <anton@khirnov.net>2014-04-28 23:02:56 +0200
commita61c2115fb936d50b8b0328d00562fe529a7c46a (patch)
tree8de5d3e343e2806e56b7e5297a9198cfa96dc3aa /avconv_opt.c
parent35177ba77ff60a8b8839783f57e44bcc4214507a (diff)
configure: rework dxva in avconv handling
Move the dxva check after the dependencies have been detected, make sure the ole32 library exists. Fixes build on non-Windows.
Diffstat (limited to 'avconv_opt.c')
-rw-r--r--avconv_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index 6015183a3f..ae6c48b39d 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -57,7 +57,7 @@ const HWAccel hwaccels[] = {
#if HAVE_VDPAU_X11
{ "vdpau", vdpau_init, HWACCEL_VDPAU, AV_PIX_FMT_VDPAU },
#endif
-#if CONFIG_DXVA2
+#if HAVE_DXVA2_LIB
{ "dxva2", dxva2_init, HWACCEL_DXVA2, AV_PIX_FMT_DXVA2_VLD },
#endif
{ 0 },