Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all
Unified · Split
| @@ -69,6 +69,10 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 68 unmodified lines | ||
| 69 | 69 | graph->filters = filters; |
| 70 | 70 | graph->filters[graph->nb_filters++] = filter; |
| 71 | 71 | |
| 72 | +#if FF_API_FOO_COUNT | |
| 73 | + graph->filter_count = graph->nb_filters; | |
| 74 | +#endif | |
| 75 | + | |
| 72 | 76 | return 0; |
| 73 | 77 | } |
| 74 | 78 | |