[FFmpeg-cvslog] dxva2: Add missing #define to make header compile standalone

Diego Biurrun git at videolan.org
Thu Feb 21 13:03:41 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Feb 11 17:59:07 2013 +0100| [a0a1ac0f091d390cbbb73c90e1b6a4a18cf0f50a] | committer: Diego Biurrun

dxva2: Add missing #define to make header compile standalone

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

 libavcodec/dxva2.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dxva2.h b/libavcodec/dxva2.h
index c06f1f3..d161eb9 100644
--- a/libavcodec/dxva2.h
+++ b/libavcodec/dxva2.h
@@ -29,8 +29,8 @@
  * Public libavcodec DXVA2 header.
  */
 
+#define _WIN32_WINNT 0x0600
 #include <stdint.h>
-
 #include <d3d9.h>
 #include <dxva2api.h>
 



More information about the ffmpeg-cvslog mailing list