* commit 'e65e4cbbda03ca3c9087f069c9867d518415fca1': lavfi: Drop deprecated *_count suffixed variables
Showing the changes to libavfilter/avfiltergraph.c (1 of 5 files). Show all
Unified · Split
| @@ -135,12 +135,6 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 134 unmodified lines | |||
| 135 | graph->filters = filters; | 135 | graph->filters = filters; |
| 136 | graph->filters[graph->nb_filters++] = filter; | 136 | graph->filters[graph->nb_filters++] = filter; |
| 137 | 137 | ||
| 138 | #if FF_API_FOO_COUNT | ||
| 139 | FF_DISABLE_DEPRECATION_WARNINGS | ||
| 140 | graph->filter_count_unused = graph->nb_filters; | ||
| 141 | FF_ENABLE_DEPRECATION_WARNINGS | ||
| 142 | #endif | ||
| 143 | |||
| 144 | filter->graph = graph; | 138 | filter->graph = graph; |
| 145 | 139 | ||
| 146 | return 0; | 140 | return 0; |
| @@ -206,12 +200,6 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, · 59 unmodified lines | |||
| 206 | graph->filters = filters; | 200 | graph->filters = filters; |
| 207 | graph->filters[graph->nb_filters++] = s; | 201 | graph->filters[graph->nb_filters++] = s; |
| 208 | 202 | ||
| 209 | #if FF_API_FOO_COUNT | ||
| 210 | FF_DISABLE_DEPRECATION_WARNINGS | ||
| 211 | graph->filter_count_unused = graph->nb_filters; | ||
| 212 | FF_ENABLE_DEPRECATION_WARNINGS | ||
| 213 | #endif | ||
| 214 | |||
| 215 | s->graph = graph; | 203 | s->graph = graph; |
| 216 | 204 | ||
| 217 | return s; | 205 | return s; |