ffmpeg | branch: master | James Almer <[email protected]> | Wed Sep 13 14:07:21 2017 -0300| [4d390344ec385f8eb7d46456df48cb07a0f946b0] | committer: James Almer
configure: check if NAN can be used as a constant initializer Some targets, like NetBSD and DJGPP, don't seem to support it. Signed-off-by: James Almer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d390344ec385f8eb7d46456df48cb07a0f946b0 --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 4dd11efe5e..6e3a3509c6 100755 --- a/configure +++ b/configure @@ -3210,6 +3210,7 @@ pixfmts_super2xsai_test_deps="super2xsai_filter" tinterlace_filter_deps="gpl" tinterlace_merge_test_deps="tinterlace_filter" tinterlace_pad_test_deps="tinterlace_filter" +tonemap_filter_deps="const_nan" uspp_filter_deps="gpl avcodec" vaguedenoiser_filter_deps="gpl" vidstabdetect_filter_deps="libvidstab" @@ -3217,7 +3218,7 @@ vidstabtransform_filter_deps="libvidstab" libvmaf_filter_deps="libvmaf" zmq_filter_deps="libzmq" zoompan_filter_deps="swscale" -zscale_filter_deps="libzimg" +zscale_filter_deps="libzimg const_nan" scale_vaapi_filter_deps="vaapi VAProcPipelineParameterBuffer" # examples @@ -5312,6 +5313,11 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; EOF od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian +check_cc <<EOF && enable const_nan +#include <math.h> +void foo(void) { struct { double d; } static const bar[] = { { NAN } }; } +EOF + if ! enabled ppc64 || enabled bigendian; then disable vsx fi _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
