[FFmpeg-devel] [PATCH] lavu/libm: add erf hack

James Almer jamrial at gmail.com
Sun Dec 20 06:58:43 CET 2015


On 12/19/2015 11:34 PM, Ganesh Ajjanagadde wrote:
> +    /* handle the nan case, but don't use isnan for max portability */
> +    else if (z != z)
> +        return z;

Didn't check, but this sounds like it would probably trigger warnings with
-Wtautological-compare (GCC 6).
That aside, libm.h has an isnan() fallback for systems where it's not
available. Portability shouldn't be a problem.


More information about the ffmpeg-devel mailing list