[FFmpeg-cvslog] avfiltergraph: set deprecated filter_count.
Anton Khirnov
git at videolan.org
Thu Apr 4 13:25:40 CEST 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Mar 30 22:15:48 2013 +0100| [6d0546bbaf16a9652d00785b96e60dff9c206087] | committer: Anton Khirnov
avfiltergraph: set deprecated filter_count.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d0546bbaf16a9652d00785b96e60dff9c206087
---
libavfilter/avfiltergraph.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 06b6a10..baf7399 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;
}
More information about the ffmpeg-cvslog
mailing list