Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Martin Storsjö
On Fri, 30 Mar 2018, James Almer wrote: On 3/30/2018 3:13 PM, Martin Storsjö wrote: On Fri, 30 Mar 2018, James Almer wrote: On 3/30/2018 10:57 AM, Martin Storsjö wrote: On Fri, 30 Mar 2018, Diego Biurrun wrote: On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: On 3/30/2018

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread James Almer
On 3/30/2018 3:13 PM, Martin Storsjö wrote: > On Fri, 30 Mar 2018, James Almer wrote: > >> On 3/30/2018 10:57 AM, Martin Storsjö wrote: >>> On Fri, 30 Mar 2018, Diego Biurrun wrote: >>> On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: > On 3/30/2018 10:38 AM, Diego Biurrun

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Martin Storsjö
On Fri, 30 Mar 2018, Diego Biurrun wrote: On Fri, Mar 30, 2018 at 04:58:29PM +0300, Martin Storsjö wrote: On Fri, 30 Mar 2018, Diego Biurrun wrote: > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > > Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > > > On Fri, Mar 30, 2018 at

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Martin Storsjö
On Fri, 30 Mar 2018, James Almer wrote: On 3/30/2018 10:57 AM, Martin Storsjö wrote: On Fri, 30 Mar 2018, Diego Biurrun wrote: On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: On 3/30/2018 10:38 AM, Diego Biurrun wrote: > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 04:58:29PM +0300, Martin Storsjö wrote: > On Fri, 30 Mar 2018, Diego Biurrun wrote: > > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > > > Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > > > > On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: >

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread James Almer
On 3/30/2018 10:57 AM, Martin Storsjö wrote: > On Fri, 30 Mar 2018, Diego Biurrun wrote: > >> On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: >>> On 3/30/2018 10:38 AM, Diego Biurrun wrote: >>> > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: >>> >> Le 30/03/2018 à

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Martin Storsjö
On Fri, 30 Mar 2018, Diego Biurrun wrote: On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: > > --- a/configure > > +++ b/configure > > @@ -4581,6 +4582,7 @@ check_lib

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Martin Storsjö
On Fri, 30 Mar 2018, Diego Biurrun wrote: On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: On 3/30/2018 10:38 AM, Diego Biurrun wrote: > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: >> Le 30/03/2018 à 10:46, Diego Biurrun a écrit : >>> On Fri, Mar 30, 2018 at

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 10:43:27AM -0300, James Almer wrote: > On 3/30/2018 10:38 AM, Diego Biurrun wrote: > > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > >> Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > >>> On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: >

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread James Almer
On 3/30/2018 10:38 AM, Diego Biurrun wrote: > On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: >> Le 30/03/2018 à 10:46, Diego Biurrun a écrit : >>> On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: --- a/configure +++ b/configure @@ -4581,6 +4582,7 @@

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 12:38:05PM +0200, Steve Lhomme wrote: > Le 30/03/2018 à 10:46, Diego Biurrun a écrit : > > On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: > > > --- a/configure > > > +++ b/configure > > > @@ -4581,6 +4582,7 @@ check_lib ole32"windows.h" > > >

Re: [libav-devel] [PATCH 1/2] arm: vc1dsp: Add commas between macro arguments

2018-03-30 Thread Luca Barbato
On 30/03/2018 11:40, Martin Storsjö wrote: When targeting darwin, clang requires commas between arguments, while the no-comma form is allowed for other targets. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. ---

Re: [libav-devel] [PATCH 2/2] arm: Produce .const_data instead of .section .rodata for Mach-O

2018-03-30 Thread Luca Barbato
On 30/03/2018 11:40, Martin Storsjö wrote: This is the same combination of .section directives as used in aarch64/asm.S. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. --- libavutil/arm/asm.S | 8 +++- 1 file changed, 7

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Steve Lhomme
Le 30/03/2018 à 10:46, Diego Biurrun a écrit : On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: --- a/configure +++ b/configure @@ -1708,6 +1708,7 @@ SYSTEM_LIBRARIES=" vaapi_x11 vdpau_x11 +bcrypt wincrypt " This should be ordered. @@ -2611,7 +2612,7 @@

[libav-devel] [PATCH 2/2] arm: Produce .const_data instead of .section .rodata for Mach-O

2018-03-30 Thread Martin Storsjö
This is the same combination of .section directives as used in aarch64/asm.S. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. --- libavutil/arm/asm.S | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[libav-devel] [PATCH 1/2] arm: vc1dsp: Add commas between macro arguments

2018-03-30 Thread Martin Storsjö
When targeting darwin, clang requires commas between arguments, while the no-comma form is allowed for other targets. Since Xcode 9.3, the bundled clang supports altmacro and doesn't require using gas-preprocessor any longer. --- libavcodec/arm/vc1dsp_neon.S | 94

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

2018-03-30 Thread Steve Lhomme
When targeting Windows Vista and above The wincrypt API is deprecated and not allowed for Windows Store apps. --- configure | 4 +++- libavutil/random_seed.c | 16 ++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/configure b/configure index

Re: [libav-devel] [PATCH] use bcrypt instead of the old wincrypt API

2018-03-30 Thread Diego Biurrun
On Fri, Mar 30, 2018 at 09:36:05AM +0200, Steve Lhomme wrote: > --- a/configure > +++ b/configure > @@ -1708,6 +1708,7 @@ SYSTEM_LIBRARIES=" > vaapi_x11 > vdpau_x11 > +bcrypt > wincrypt > " This should be ordered. > @@ -2611,7 +2612,7 @@ avdevice_extralibs="libm_extralibs" >

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

2018-03-30 Thread Steve Lhomme
When targeting Windows Vista and above The wincrypt API is deprecated and not allowed for Windows Store apps. --- configure | 4 +++- libavutil/random_seed.c | 16 ++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/configure b/configure index