aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-01-05 17:49:09 -0300
committerJames Almer <jamrial@gmail.com>2018-01-06 11:01:16 -0300
commitb2c42fc6dc3502a8b6cae441c54d898972a51cff (patch)
tree393d3dec87478b372b1287b00ace716f49107f7a /libavfilter/avfilter.h
parent50b3cd22dd70658b39abd0ced31b495d4d0a4b1b (diff)
downloadffmpeg-b2c42fc6dc3502a8b6cae441c54d898972a51cff.tar.gz
avfilter: deprecate avfilter_link_get_channels()
Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 47546c15e5..62eed2168f 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -647,10 +647,14 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
*/
void avfilter_link_free(AVFilterLink **link);
+#if FF_API_FILTER_GET_SET
/**
* Get the number of channels of a link.
+ * @deprecated Use av_buffersink_get_channels()
*/
+attribute_deprecated
int avfilter_link_get_channels(AVFilterLink *link);
+#endif
/**
* Set the closed field of a link.