X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favfilter.h;h=62eed2168f001b7105b216946d3268184a8a1b22;hb=b2c42fc6dc3502a8b6cae441c54d898972a51cff;hp=47546c15e51d00004dad2103f33059b632212cbf;hpb=50b3cd22dd70658b39abd0ced31b495d4d0a4b1b;p=ffmpeg diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 47546c15e51..62eed2168f0 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.