[FFmpeg-devel] [PATCH] dxva2 mingw
Kyle
kshawkeye
Sat Feb 19 01:42:11 CET 2011
This patch needs to be applied to FFmpeg before dxva2 will build with mingw
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-devel
mailing list