Andreas Rheinhardt (12021-02-19): > It is only for NULL+0; NULL+x is a real bug after all. > And the macro doesn't hide it; NULL+x can still be detected with all the > typical tools (ubsan) to detect NULL+x. Doing it this way has the > advantage of allowing the compiler to optimize the branch away (GCC does > it).
Oh, I had read the macro the wrong way. This version is cleverer. Regards, -- Nicolas George
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".