From 711613885708ec9c5d6c9c1ddd22002456fe2578 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 8 Mar 2026 19:52:03 +0100 Subject: [PATCH] avfilter/avfilter: Remove FF_API_CONTEXT_PUBLIC Deprecated on 2024-10-07. Signed-off-by: Andreas Rheinhardt --- libavfilter/avfilter.h | 28 ---------------------------- libavfilter/version_major.h | 1 - 2 files changed, 29 deletions(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 02b58c42c2..1363a861a1 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -37,7 +37,6 @@ #include -#include "libavutil/attributes.h" #include "libavutil/avutil.h" #include "libavutil/buffer.h" #include "libavutil/dict.h" @@ -315,26 +314,7 @@ typedef struct AVFilterContext { */ int nb_threads; -#if FF_API_CONTEXT_PUBLIC - /** - * @deprecated unused - */ - attribute_deprecated - struct AVFilterCommand *command_queue; -#endif - char *enable_str; ///< enable expression string -#if FF_API_CONTEXT_PUBLIC - /** - * @deprecated unused - */ - attribute_deprecated - void *enable; - /** - * @deprecated unused - */ - double *var_values; -#endif /** * MUST NOT be accessed from outside avfilter. * @@ -355,14 +335,6 @@ typedef struct AVFilterContext { */ AVBufferRef *hw_device_ctx; -#if FF_API_CONTEXT_PUBLIC - /** - * @deprecated this field should never have been accessed by callers - */ - attribute_deprecated - unsigned ready; -#endif - /** * Sets the number of extra hardware frames which the filter will * allocate on its output links for use in following filters or by diff --git a/libavfilter/version_major.h b/libavfilter/version_major.h index ee7ac75212..1535982260 100644 --- a/libavfilter/version_major.h +++ b/libavfilter/version_major.h @@ -35,7 +35,6 @@ * the public API and may change, break or disappear at any time. */ -#define FF_API_CONTEXT_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 12) #define FF_API_LIBNPP_SUPPORT (LIBAVFILTER_VERSION_MAJOR < 12) #endif /* AVFILTER_VERSION_MAJOR_H */