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

Michael Niedermayer michael at niedermayer.cc
Sun Apr 1 04:37:50 EEST 2018


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;
   ^


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180401/384310f2/attachment.sig>


More information about the ffmpeg-devel mailing list