[FFmpeg-devel] [PATCH] use bcrypt instead of the old wincrypt API

Steve Lhomme robux4 at ycbcr.xyz
Tue Apr 3 12:39:34 EEST 2018


Le 01/04/2018 à 03:37, Michael Niedermayer a écrit :
> On Fri, Mar 30, 2018 at 02:44:52PM +0200, Steve Lhomme wrote:
>> Remove the wincrypt API calls since we don't support XP anymore and bcrypt is
>> available since Vista, even on Windows Store builds.
>> ---
>>   configure               |  6 +++---
>>   libavutil/random_seed.c | 20 ++++++++++----------
>>   2 files changed, 13 insertions(+), 13 deletions(-)
> fails to build on ubuntu mingw64
>
> CC	libavutil/random_seed.o
> In file included from src/libavutil/random_seed.c:30:0:
> /usr/share/mingw-w64/include/bcrypt.h:23:3: error: unknown type name ‘LONG’
>     typedef LONG NTSTATUS,*PNTSTATUS;
>     ^

Updated patch incoming.

>
> [...]
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list