From: Hugo Beauzée-Luyssen Date: Fri, 2 Jun 2017 15:29:31 +0000 (+0200) Subject: codec: dxva: Pretend we're always building on desktop X-Git-Tag: 3.0.0-git~2947 X-Git-Url: http://git.videolan.org/?p=vlc.git;a=commitdiff_plain;h=4a746666d08d2b368f794fda996a2ec5ef901512 codec: dxva: Pretend we're always building on desktop So that we can have the GUID declared --- diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c index d114feac79..63307a6ae5 100644 --- a/modules/codec/avcodec/directx_va.c +++ b/modules/codec/avcodec/directx_va.c @@ -52,6 +52,12 @@ static const int PROF_HEVC_MAIN[] = { FF_PROFILE_HEVC_MAIN, 0 }; static const int PROF_HEVC_MAIN10[] = { FF_PROFILE_HEVC_MAIN, FF_PROFILE_HEVC_MAIN_10, 0 }; +#include +#if defined(WINAPI_FAMILY) +# undef WINAPI_FAMILY +#endif +#define WINAPI_FAMILY WINAPI_PARTITION_DESKTOP + #include #include