1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter: Remove deprecated avfilter_link_get_channels

Deprecated in b2c42fc6dc.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-03-06 18:08:50 +01:00 committed by James Almer
parent 339af976b6
commit 3a370868dc
3 changed files with 0 additions and 18 deletions

View File

@ -183,13 +183,6 @@ 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)
{
filter->ready = FFMAX(filter->ready, priority);

View File

@ -673,14 +673,6 @@ 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
#if FF_API_FILTER_LINK_SET_CLOSED
/**
* Set the closed field of a link.

View File

@ -50,9 +50,6 @@
* the public API and may change, break or disappear at any time.
*/
#ifndef FF_API_FILTER_GET_SET
#define FF_API_FILTER_GET_SET (LIBAVFILTER_VERSION_MAJOR < 8)
#endif
#ifndef FF_API_SWS_PARAM_OPTION
#define FF_API_SWS_PARAM_OPTION (LIBAVFILTER_VERSION_MAJOR < 8)
#endif