From 04973f8082c5a822112d2e42d535b7f3f59dccc0 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 --- 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"