You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
avfiltergraph: set deprecated filter_count.
This commit is contained in:
@ -69,6 +69,10 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
|
||||
graph->filters = filters;
|
||||
graph->filters[graph->nb_filters++] = filter;
|
||||
|
||||
#if FF_API_FOO_COUNT
|
||||
graph->filter_count = graph->nb_filters;
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user