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

Matthias Troffaes matthias.troffaes at gmail.com
Mon Apr 29 11:53:11 EEST 2019


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/24166664/job/bbeyhavgy4kmqu7k

Kind regards,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af_astats_void.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190429/5895c79f/attachment.bin>


More information about the ffmpeg-devel mailing list