[FFmpeg-devel] [PATCH] dxva2 mingw

Måns Rullgård mans
Fri Feb 25 23:24:14 CET 2011


Kyle <kshawkeye at gmail.com> writes:

> 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.

I already did.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list