[FFmpeg-devel] [PATCH] avfilter/vf_tonemap: don't use NAN constant as an initializer
george at nsup.org
Fri Sep 8 11:25:37 EEST 2017
Le primidi 21 fructidor, an CCXXV, James Almer a écrit :
> What can we do, then? NAN and nan("") are sometimes compile-time
> constants and sometimes not, apparently depending on build type and
> target system.
> CCing Vittorio as he's the author of the filter.
"The macro NAN is defined if and only if the implementation supports
quiet NaNs for the float type. It expands to a constant expression of
type float representing a quiet NaN."
-> If the macro is defined, it must be a compile-time constant.
Therefore, DJGPP is wrong.
I say let the people who care about DJGPP fix it, and in the meantime
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel