diff options
author | James Almer <jamrial@gmail.com> | 2018-01-05 17:49:09 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-01-05 17:49:09 -0300 |
commit | 798dcf2432999f449c76c0e0fe2d7a4ee5eabbc2 (patch) | |
tree | ee5a53a9e9b9f34907b363a0a3a1a4ed6079a251 /libavfilter/avfilter.c | |
parent | b9ad04b19c0c7244cc3788f3fa45e9fbe0b620a8 (diff) | |
download | ffmpeg-798dcf2432999f449c76c0e0fe2d7a4ee5eabbc2.tar.gz |
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>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |