From 798dcf2432999f449c76c0e0fe2d7a4ee5eabbc2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 5 Jan 2018 17:49:09 -0300 Subject: avfilter: deprecate avfilter_link_get_channels() And move the channels field to the public section of the struct. Signed-off-by: James Almer --- libavfilter/avfilter.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavfilter/avfilter.c') diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index ff7df672fd..ea75467a75 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -183,10 +183,12 @@ void avfilter_link_free(AVFilterLink **link) av_freep(link); } +#if FF_API_FILTER_GET_SET int avfilter_link_get_channels(AVFilterLink *link) { return link->channels; } +#endif void ff_filter_set_ready(AVFilterContext *filter, unsigned priority) { -- cgit v1.2.3