avfilter: deprecate avfilter_link_get_channels()

And move the channels field to the public section of the struct.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2018-01-05 17:49:09 -03:00
parent b9ad04b19c
commit 798dcf2432
4 changed files with 20 additions and 6 deletions
+2
View File
@@ -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)
{