[FFmpeg-devel] [PATCH] dxva2 mingw
Kyle
kshawkeye
Fri Feb 25 23:19:28 CET 2011
On 2/18/2011 7:42 PM, Kyle wrote:
> 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"
>
Please apply this patch soon, it seems to be a common topic on ffmpeg-user.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-dxva2-compilation-with-mingw-w64.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110225/888a1123/attachment.asc>
More information about the ffmpeg-devel
mailing list