aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle <kshawkeye@gmail.com>2011-02-19 00:42:11 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2012-06-02 19:25:12 -0400
commit97ed486fffc817317561a91bc6ecd71a8eb493c6 (patch)
treefab5ab2b7873f9db19f58845e0428228a048077e
parent77630b68e584b3493ae5691dad8f5346fa3fea15 (diff)
downloadffmpeg-97ed486fffc817317561a91bc6ecd71a8eb493c6.tar.gz
dxva2: define required feature selection macros
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 04973f8082c5a822112d2e42d535b7f3f59dccc0) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-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"