[FFmpeg-devel] [PATCH 1/2] avutil/intmath: use AV_HAS_BUILTIN to detect builtin availability
Martin Storsjö
martin at martin.st
Thu Jun 12 12:49:26 EEST 2025
On Mon, 31 Mar 2025, Kacper Michajłow wrote:
> Fixes use of bultins on clang x86_64-pc-windows-msvc which does not
> define any __GNUC__. Also on other targets __GNUC__ is defined to 4 by
> default, so any feature testing based on version is not really valid.
>
> Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
> ---
> libavutil/intmath.h | 12 +++++-------
> libavutil/x86/intmath.h | 4 ++--
> 2 files changed, 7 insertions(+), 9 deletions(-)
LGTM, will push.
// Martin
More information about the ffmpeg-devel
mailing list