Skip to content

Commit 379632b

Browse files
committed
avfilter: remove deprecated FF_API_LINK_PUBLIC
Deprecated since 2024-03-08. Signed-off-by: James Almer <[email protected]>
1 parent ef8bf6c commit 379632b

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

libavfilter/avfilter.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,6 @@ static void link_free(AVFilterLink **link)
213213
av_freep(link);
214214
}
215215

216-
#if FF_API_LINK_PUBLIC
217-
void avfilter_link_free(AVFilterLink **link)
218-
{
219-
link_free(link);
220-
}
221-
int avfilter_config_links(AVFilterContext *filter)
222-
{
223-
return ff_filter_config_links(filter);
224-
}
225-
#endif
226-
227216
static void update_link_current_pts(FilterLinkInternal *li, int64_t pts)
228217
{
229218
AVFilterLink *const link = &li->l.pub;

libavfilter/avfilter.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -447,20 +447,6 @@ struct AVFilterLink {
447447
int avfilter_link(AVFilterContext *src, unsigned srcpad,
448448
AVFilterContext *dst, unsigned dstpad);
449449

450-
#if FF_API_LINK_PUBLIC
451-
/**
452-
* @deprecated this function should never be called by users
453-
*/
454-
attribute_deprecated
455-
void avfilter_link_free(AVFilterLink **link);
456-
457-
/**
458-
* @deprecated this function should never be called by users
459-
*/
460-
attribute_deprecated
461-
int avfilter_config_links(AVFilterContext *filter);
462-
#endif
463-
464450
#define AVFILTER_CMD_FLAG_ONE 1 ///< Stop once a filter understood the command (for target=all for example), fast filters are favored automatically
465451
#define AVFILTER_CMD_FLAG_FAST 2 ///< Only execute command when its fast (like a video out that supports contrast adjustment in hw)
466452

libavfilter/version_major.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
* the public API and may change, break or disappear at any time.
3636
*/
3737

38-
#define FF_API_LINK_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 11)
3938
#define FF_API_BUFFERSINK_OPTS (LIBAVFILTER_VERSION_MAJOR < 11)
4039
#define FF_API_CONTEXT_PUBLIC (LIBAVFILTER_VERSION_MAJOR < 11)
4140

0 commit comments

Comments
 (0)