[FFmpeg-devel] [PATCH 2/2] Use gcc/clang builtins for av_sat_(add|sub)_64_c if available.

Dale Curtis dalecurtis at chromium.org
Thu May 21 22:05:47 EEST 2020


On Thu, May 21, 2020 at 12:37 AM Michael Niedermayer <michael at niedermayer.cc>
wrote:

> gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
> used with ccache on a x86-64
>

Huh, I guess there's no early abort for conditionals in a preprocessor
statement with __has_builtin for some reason. I've added a AV_HAS_BUILTIN
macro to workaround this.

- dale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sat_math_builtin_v7.patch
Type: application/octet-stream
Size: 2242 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200521/f16dab10/attachment.obj>


More information about the ffmpeg-devel mailing list