diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-12-05 13:42:27 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 09:57:33 +0100 |
commit | 8e18328b18e69b38a5feae5d10ad01b403a205b6 (patch) | |
tree | e16bdef0fa0e19de06600b36a8119023f780c6ea /libavfilter | |
parent | 52067b3c0e5ddbcf7021a093420798420351a9e2 (diff) | |
download | ffmpeg-streaming-8e18328b18e69b38a5feae5d10ad01b403a205b6.zip ffmpeg-streaming-8e18328b18e69b38a5feae5d10ad01b403a205b6.tar.gz |
lavfi: Drop deprecated filter registration
Deprecated in 04/2013.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.c | 11 | ||||
-rw-r--r-- | libavfilter/avfilter.h | 18 | ||||
-rw-r--r-- | libavfilter/version.h | 3 |
3 files changed, 0 insertions, 32 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 439eee4..3ae7a59 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -324,17 +324,6 @@ const AVFilter *avfilter_next(const AVFilter *prev) return prev ? prev->next : first_filter; } -#if FF_API_OLD_FILTER_REGISTER -AVFilter **av_filter_next(AVFilter **filter) -{ - return filter ? &(*filter)->next : &first_filter; -} - -void avfilter_uninit(void) -{ -} -#endif - int avfilter_pad_count(const AVFilterPad *pads) { int count; diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 6537a83..96d3e31 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -430,12 +430,6 @@ int avfilter_config_links(AVFilterContext *filter); /** Initialize the filter system. Register all builtin filters. */ void avfilter_register_all(void); -#if FF_API_OLD_FILTER_REGISTER -/** Uninitialize the filter system. Unregister all filters. */ -attribute_deprecated -void avfilter_uninit(void); -#endif - /** * Register a filter. This is only needed if you plan to use * avfilter_get_by_name later to lookup the AVFilter structure by name. A @@ -467,18 +461,6 @@ AVFilter *avfilter_get_by_name(const char *name); */ const AVFilter *avfilter_next(const AVFilter *prev); -#if FF_API_OLD_FILTER_REGISTER -/** - * If filter is NULL, returns a pointer to the first registered filter pointer, - * if filter is non-NULL, returns the next pointer after filter. - * If the returned pointer points to NULL, the last registered filter - * was already reached. - * @deprecated use avfilter_next() - */ -attribute_deprecated -AVFilter **av_filter_next(AVFilter **filter); -#endif - /** * Initialize a filter with the supplied parameters. * diff --git a/libavfilter/version.h b/libavfilter/version.h index ef2b34c..4f3da2b 100644 --- a/libavfilter/version.h +++ b/libavfilter/version.h @@ -49,9 +49,6 @@ * the public API and may change, break or disappear at any time. */ -#ifndef FF_API_OLD_FILTER_REGISTER -#define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 7) -#endif #ifndef FF_API_NOCONST_GET_NAME #define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7) #endif |