mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavfi: Drop deprecated *_count suffixed variables
Deprecated in 06/2012.
This commit is contained in:
@@ -127,12 +127,6 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
|
||||
graph->filters = filters;
|
||||
graph->filters[graph->nb_filters++] = filter;
|
||||
|
||||
#if FF_API_FOO_COUNT
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
graph->filter_count = graph->nb_filters;
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
|
||||
filter->graph = graph;
|
||||
|
||||
return 0;
|
||||
@@ -193,12 +187,6 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
|
||||
graph->filters = filters;
|
||||
graph->filters[graph->nb_filters++] = s;
|
||||
|
||||
#if FF_API_FOO_COUNT
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
graph->filter_count = graph->nb_filters;
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
|
||||
s->graph = graph;
|
||||
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user