Hendrik Leppkes (12019-07-20): > That seems like a particularly dumb compiler "feature". Checking > bitmasks for a set bit seems like a rather standard if condition.
Maybe, to each their own, but it saved me a few times, so personally I like it, especially since the double-parentheses is an obvious and unobtrusive way of silencing it. (Personally I would prefer explicitly "!= 0", but that is not FFmpeg's coding style.) 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".