Re: [FFmpeg-devel] [PATCH] libavfilter/af_astats: fix msvc compile error

2019-04-30 Thread Matthias Troffaes
On Mon, Apr 29, 2019 at 7:32 PM Paul B Mahol wrote: > On 4/29/19, Matthias Troffaes wrote: > > MSVC requires an explicit cast from void * to void when applying the > > ternary conditional operator to switch between methods that return > > void. The attached patch fixes the problem. > > > > For in

Re: [FFmpeg-devel] [PATCH] libavfilter/af_astats: fix msvc compile error

2019-04-29 Thread Paul B Mahol
On 4/29/19, Matthias Troffaes wrote: > MSVC requires an explicit cast from void * to void when applying the > ternary conditional operator to switch between methods that return > void. The attached patch fixes the problem. > > For information, log of failed build: > > https://ci.appveyor.com/proje

[FFmpeg-devel] [PATCH] libavfilter/af_astats: fix msvc compile error

2019-04-29 Thread Matthias Troffaes
MSVC requires an explicit cast from void * to void when applying the ternary conditional operator to switch between methods that return void. The attached patch fixes the problem. For information, log of failed build: https://ci.appveyor.com/project/mcmtroffaes/ffmpeg-msvc-build/builds/2414/j