diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-30 22:15:48 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-04 07:52:32 +0200 |
commit | 6d0546bbaf16a9652d00785b96e60dff9c206087 (patch) | |
tree | 69ef20f4ca0f5e5ad6467a5aedf8db1c640bdf32 | |
parent | bcc94328980e6c56546792ab08b0756abdce310b (diff) | |
download | ffmpeg-6d0546bbaf16a9652d00785b96e60dff9c206087.tar.gz |
avfiltergraph: set deprecated filter_count.
-rw-r--r-- | libavfilter/avfiltergraph.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 06b6a101de..baf739924c 100644 --- a/libavfilter/avfiltergraph.c +++ b/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; } |