From 51231c558848d29e5dc809b1b419b62f649f85fb Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 9 Mar 2026 06:30:48 +0100 Subject: [PATCH] avutil/common: Remove FF_API_MOD_UINTP2 Deprecated on 2024-06-13. Signed-off-by: Andreas Rheinhardt --- libavutil/common.h | 11 ----------- libavutil/version.h | 1 - 2 files changed, 12 deletions(-) diff --git a/libavutil/common.h b/libavutil/common.h index bf23aa50b0..cba78c5fd8 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -297,17 +297,6 @@ static av_always_inline av_const unsigned av_zero_extend_c(unsigned a, unsigned return a & ((1U << p) - 1); } -#if FF_API_MOD_UINTP2 -#ifndef av_mod_uintp2 -# define av_mod_uintp2 av_mod_uintp2_c -#endif -attribute_deprecated -static av_always_inline av_const unsigned av_mod_uintp2_c(unsigned a, unsigned p) -{ - return av_zero_extend_c(a, p); -} -#endif - /** * Add two signed 32-bit values with saturation. * diff --git a/libavutil/version.h b/libavutil/version.h index 429e65d77f..8e046a4287 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -105,7 +105,6 @@ * @{ */ -#define FF_API_MOD_UINTP2 (LIBAVUTIL_VERSION_MAJOR < 61) #define FF_API_RISCV_FD_ZBA (LIBAVUTIL_VERSION_MAJOR < 61) #define FF_API_VULKAN_FIXED_QUEUES (LIBAVUTIL_VERSION_MAJOR < 61) #define FF_API_OPT_INT_LIST (LIBAVUTIL_VERSION_MAJOR < 61)