]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avfilter.h
avfilter: deprecate avfilter_link_get_channels()
[ffmpeg] / libavfilter / avfilter.h
index 47546c15e51d00004dad2103f33059b632212cbf..62eed2168f001b7105b216946d3268184a8a1b22 100644 (file)
@@ -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.