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

Kyle git at videolan.org
Mon Jun 4 12:51:32 CEST 2012


ffmpeg | branch: release/0.6 | Kyle <kshawkeye at gmail.com> | Sat Feb 19 00:42:11 2011 +0000| [97ed486fffc817317561a91bc6ecd71a8eb493c6] | committer: Derek Buitenhuis

dxva2: define required feature selection macros

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

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

 libavcodec/dxva2_internal.h |    2 ++
 1 file changed, 2 insertions(+)

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