avfiltergraph: set deprecated filter_count.

pull/21/head
Anton Khirnov 12 years ago
parent bcc9432898
commit 6d0546bbaf
  1. 4
      libavfilter/avfiltergraph.c

@ -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;
}

Loading…
Cancel
Save