diff options
author | James Almer <jamrial@gmail.com> | 2025-02-19 12:49:16 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2025-03-28 14:33:07 -0300 |
commit | 379632bb97ef0836909358b3b136adb6511b0d06 (patch) | |
tree | 1336d4ed1eec75a5610ef85c816480e9aba7f076 | |
parent | ef8bf6ca243f902cb03360cbeee444a922d7e42a (diff) | |
download | ffmpeg-379632bb97ef0836909358b3b136adb6511b0d06.tar.gz |
avfilter: remove deprecated FF_API_LINK_PUBLIC
Deprecated since 2024-03-08.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavfilter/avfilter.c | 11 | ||||
-rw-r--r-- | libavfilter/avfilter.h | 14 | ||||
-rw-r--r-- | libavfilter/version_major.h | 1 |
3 files changed, 0 insertions, 26 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index e732556ffa..cac5cf8997 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -213,17 +213,6 @@ static void link_free(AVFilterLink **link) av_freep(link); } -#if FF_API_LINK_PUBLIC -void avfilter_link_free(AVFilterLink **link) -{ - link_free(link); -} -int avfilter_config_links(AVFilterContext *filter) -{ - return ff_filter_config_links(filter); -} -#endif - static void update_link_current_pts(FilterLinkInternal *li, int64_t pts) { AVFilterLink *const link = &li->l.pub; diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 4520d5f978..a89d3cf658 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -447,20 +447,6 @@ struct AVFilterLink { int avfilter_link(AVFilterContext *src, unsigned srcpad, AVFilterContext *dst, unsigned dstpad); -#if FF_API_LINK_PUBLIC -/** - * @deprecated this function should never be called by users - */ -attribute_deprecated -void avfilter_link_free(AVFilterLink **link); - -/** - * @deprecated this function should never be called by users - */ -attribute_deprecated -int avfilter_config_links(AVFilterContext *filter); -#endif - #define AVFILTER_CMD_FLAG_ONE 1 ///< Stop once a filter understood the command (for target=all for example), fast filters are favored automatically #define AVFILTER_CMD_FLAG_FAST 2 ///< Only execute command when its fast (like a video out that supports contrast adjustment in hw) diff --git a/libavfilter/version_major.h b/libavfilter/version_major.h index 41374fbbe5..c156805a31 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_LINK_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 11) #define FF_API_BUFFERSINK_OPTS (LIBAVFILTER_VERSION_MAJOR < 11) #define FF_API_CONTEXT_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 11) |