Deprecated in 10/2013. --- libavfilter/avfilter.c | 5 +---- libavfilter/avfilter.h | 5 +---- libavfilter/version.h | 4 ---- 3 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 3ae7a59..83c1a7c 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -292,10 +292,7 @@ int ff_poll_frame(AVFilterLink *link) static AVFilter *first_filter; -#if !FF_API_NOCONST_GET_NAME -const -#endif -AVFilter *avfilter_get_by_name(const char *name) +const AVFilter *avfilter_get_by_name(const char *name) { const AVFilter *f = NULL; diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 96d3e31..6df69db 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -449,10 +449,7 @@ int avfilter_register(AVFilter *filter); * @return the filter definition, if any matching one is registered. * NULL if none found. */ -#if !FF_API_NOCONST_GET_NAME -const -#endif -AVFilter *avfilter_get_by_name(const char *name); +const AVFilter *avfilter_get_by_name(const char *name); /** * Iterate over all registered filters. diff --git a/libavfilter/version.h b/libavfilter/version.h index 381bf9e..0b300ce 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -49,8 +49,4 @@ * the public API and may change, break or disappear at any time. */ -#ifndef FF_API_NOCONST_GET_NAME -#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7) -#endif - #endif /* AVFILTER_VERSION_H */ -- 2.10.0 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel