[FFmpeg-devel] [PATCH] dxva2 mingw
Måns Rullgård
mans
Sat Feb 19 03:48:07 CET 2011
Kyle <kshawkeye at gmail.com> writes:
> 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"
Could you please explain why this is needed? I'm not disputing that it
is, nor am I rejecting the patch. I am simply curious to know the reason.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list