From a63ba97384e7ef9487b887fabc52794181c861d9 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 19 Feb 2011 00:42:11 +0000 Subject: [PATCH] dxva2: define required feature selection macros Signed-off-by: Mans Rullgard (cherry picked from commit 04973f8082c5a822112d2e42d535b7f3f59dccc0) --- libavcodec/dxva2_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/dxva2_internal.h b/libavcodec/dxva2_internal.h index a9be7a07e7..23d4d87522 100644 --- a/libavcodec/dxva2_internal.h +++ b/libavcodec/dxva2_internal.h @@ -23,6 +23,8 @@ #ifndef AVCODEC_DXVA_INTERNAL_H #define AVCODEC_DXVA_INTERNAL_H +#define _WIN32_WINNT 0x0600 +#define COBJMACROS #include "dxva2.h" #include "avcodec.h" #include "mpegvideo.h" -- 2.11.0