1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avfilter: remove deprecated FF_API_LINK_PUBLIC

Deprecated since 2024-03-08.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2025-02-19 12:49:16 -03:00
parent ef8bf6ca24
commit 379632bb97
3 changed files with 0 additions and 26 deletions

View File

@@ -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;

View File

@@ -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)

View File

@@ -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)