Unified · Split
| @@ -69,6 +69,10 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter) · 68 unmodified lines | |||
| 69 | graph->filters = filters; | 69 | graph->filters = filters; |
| 70 | graph->filters[graph->nb_filters++] = filter; | 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 | return 0; | 76 | return 0; |
| 73 | } | 77 | } |
| 74 | 78 | ||