[FFmpeg-devel] [PATCH] avfilter/vf_tonemap: don't use NAN constant as an initializer

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 8 15:34:34 EEST 2017

On 9/8/2017 10:53 AM, Hendrik Leppkes wrote:
> So if it would not be defined at all, the filter would still not
> build. So what exactly does that change?

Yes it would:

    libavutil/mathematics.h:#define NAN            av_int2float(0x7fc00000)

- Derek

More information about the ffmpeg-devel mailing list