From a61c2115fb936d50b8b0328d00562fe529a7c46a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 28 Apr 2014 23:00:38 +0200 Subject: 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. --- avconv_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avconv_opt.c') 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 }, -- cgit v1.2.3