Commit de0b26ce authored by James Almer's avatar James Almer

Merge commit '8e18328b'

* commit '8e18328b':
  lavfi: Drop deprecated filter registration
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 5045cf27 8e18328b
...@@ -614,17 +614,6 @@ const AVFilter *avfilter_next(const AVFilter *prev) ...@@ -614,17 +614,6 @@ const AVFilter *avfilter_next(const AVFilter *prev)
return prev ? prev->next : first_filter; 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 avfilter_pad_count(const AVFilterPad *pads)
{ {
int count; int count;
......
...@@ -680,12 +680,6 @@ int avfilter_process_command(AVFilterContext *filter, const char *cmd, const cha ...@@ -680,12 +680,6 @@ int avfilter_process_command(AVFilterContext *filter, const char *cmd, const cha
/** Initialize the filter system. Register all builtin filters. */ /** Initialize the filter system. Register all builtin filters. */
void avfilter_register_all(void); 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 * 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 * avfilter_get_by_name later to lookup the AVFilter structure by name. A
...@@ -717,18 +711,6 @@ AVFilter *avfilter_get_by_name(const char *name); ...@@ -717,18 +711,6 @@ AVFilter *avfilter_get_by_name(const char *name);
*/ */
const AVFilter *avfilter_next(const AVFilter *prev); 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. * Initialize a filter with the supplied parameters.
* *
......
...@@ -52,9 +52,6 @@ ...@@ -52,9 +52,6 @@
#ifndef FF_API_OLD_FILTER_OPTS_ERROR #ifndef FF_API_OLD_FILTER_OPTS_ERROR
#define FF_API_OLD_FILTER_OPTS_ERROR (LIBAVFILTER_VERSION_MAJOR < 8) #define FF_API_OLD_FILTER_OPTS_ERROR (LIBAVFILTER_VERSION_MAJOR < 8)
#endif #endif
#ifndef FF_API_OLD_FILTER_REGISTER
#define FF_API_OLD_FILTER_REGISTER (LIBAVFILTER_VERSION_MAJOR < 7)
#endif
#ifndef FF_API_NOCONST_GET_NAME #ifndef FF_API_NOCONST_GET_NAME
#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7) #define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 7)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment