[FFmpeg-cvslog] dxva2: define required feature selection macros

Kyle git
Sat Feb 26 04:51:53 CET 2011


ffmpeg | branch: master | Kyle <kshawkeye at gmail.com> | Sat Feb 19 00:42:11 2011 +0000| [a63ba97384e7ef9487b887fabc52794181c861d9] | committer: Michael Niedermayer

dxva2: define required feature selection macros

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 04973f8082c5a822112d2e42d535b7f3f59dccc0)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a63ba97384e7ef9487b887fabc52794181c861d9
---

 libavcodec/dxva2_internal.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/dxva2_internal.h b/libavcodec/dxva2_internal.h
index a9be7a0..23d4d87 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"




More information about the ffmpeg-cvslog mailing list