git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bcc9432
)
avfiltergraph: set deprecated filter_count.
author
Anton Khirnov
<anton@khirnov.net>
Sat, 30 Mar 2013 21:15:48 +0000
(22:15 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Thu, 4 Apr 2013 05:52:32 +0000
(07:52 +0200)
libavfilter/avfiltergraph.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfiltergraph.c
b/libavfilter/avfiltergraph.c
index
06b6a10
..
baf7399
100644
(file)
--- 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;
graph->filters = filters;
graph->filters[graph->nb_filters++] = filter;
+#if FF_API_FOO_COUNT
+ graph->filter_count = graph->nb_filters;
+#endif
+
return 0;
}
return 0;
}