OSDN Git Service

dxva2: define required feature selection macros
authorKyle <kshawkeye@gmail.com>
Sat, 19 Feb 2011 00:42:11 +0000 (00:42 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:06 +0000 (03:16 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 04973f8082c5a822112d2e42d535b7f3f59dccc0)

libavcodec/dxva2_internal.h

index a9be7a0..23d4d87 100644 (file)
@@ -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"