]> git.sesse.net Git - ffmpeg/commitdiff
avfilter: Remove deprecated avfilter_link_get_channels
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 6 Mar 2021 17:08:50 +0000 (18:08 +0100)
committerJames Almer <jamrial@gmail.com>
Tue, 27 Apr 2021 13:43:11 +0000 (10:43 -0300)
Deprecated in b2c42fc6dc3502a8b6cae441c54d898972a51cff.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/version.h

index b3ad8d57b3e4ca3bb9dcc456a27212caf0bc50f1..c0453be4de35281715a6ee560a196bc331829a78 100644 (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);
index b5e092f8bc0d3b7cafa96a24b49cca1c3cf30660..6e4b2464c5cd9be75a41397d9de7e39f56d70351 100644 (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.
index ba9ff5f63321d5f15333d6bf3d49ee10509d9984..bbadb00f0dd5bb69d283eedcb5e75097d7bc0389 100644 (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