[FFmpeg-devel] [PATCH] configure, libavutil/version: Remove unused HAVE_MMX2

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Feb 19 13:30:09 EET 2024


Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  configure           | 1 -
>  libavutil/version.c | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/configure b/configure
> index f72533b7d2..c7defd9bf3 100755
> --- a/configure
> +++ b/configure
> @@ -8091,7 +8091,6 @@ cat > $TMPH <<EOF
>  #define EXTERN_ASM ${extern_prefix}
>  #define BUILDSUF "$build_suffix"
>  #define SLIBSUF "$SLIBSUF"
> -#define HAVE_MMX2 HAVE_MMXEXT
>  #define SWS_MAX_FILTER_SIZE $sws_max_filter_size
>  EOF
>  
> diff --git a/libavutil/version.c b/libavutil/version.c
> index b0f4f94a7a..75c5c0d1a8 100644
> --- a/libavutil/version.c
> +++ b/libavutil/version.c
> @@ -43,7 +43,6 @@ unsigned avutil_version(void)
>      av_assert0(AVMEDIA_TYPE_ATTACHMENT == 4);
>      av_assert0(AV_PICTURE_TYPE_BI == 7);
>      av_assert0(LIBAVUTIL_VERSION_MICRO >= 100);
> -    av_assert0(HAVE_MMX2 == HAVE_MMXEXT);
>  
>      av_assert0(((size_t)-1) > 0); // C guarantees this but if false on a platform we care about revert at least b284e1ffe343d6697fb950d1ee517bafda8a9844
>  

Will apply this patch tomorrow unless there are objections.

- Andreas



More information about the ffmpeg-devel mailing list