summaryrefslogtreecommitdiff
path: root/libavcodec/dxva2_internal.h
diff options
context:
space:
mode:
authorKyle <kshawkeye@gmail.com>2011-02-19 00:42:11 +0000
committerMans Rullgard <mans@mansr.com>2011-02-25 19:48:20 +0000
commit04973f8082c5a822112d2e42d535b7f3f59dccc0 (patch)
tree0f6c959706af58fae4120b7f769ae9b36999b405 /libavcodec/dxva2_internal.h
parentcc4e9d2a24a9ca79d4e912df21053426411aa14b (diff)
dxva2: define required feature selection macros
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/dxva2_internal.h')
-rw-r--r--libavcodec/dxva2_internal.h2
1 files changed, 2 insertions, 0 deletions
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"