summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 00:39:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 00:39:09 +0200
commit5c68e14e42c181f03d956465c557b7b890fd1983 (patch)
treec170cb5ddbb623e8ee7e299eb00020f9c5f200df /libavfilter/avfiltergraph.c
parent86070b8e5a0e0ba087a9ce2a050c00094e29f35b (diff)
parentc2c9801bc9bce688d51d1a96f5f3ea93933e2dee (diff)
Merge commit 'c2c9801bc9bce688d51d1a96f5f3ea93933e2dee'
* commit 'c2c9801bc9bce688d51d1a96f5f3ea93933e2dee': lavfi: deprecate avfilter_graph_add_filter(). Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 771c7dfda6..4dca8643d9 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -73,6 +73,7 @@ void avfilter_graph_free(AVFilterGraph **graph)
av_freep(graph);
}
+#if FF_API_AVFILTER_OPEN
int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
{
AVFilterContext **filters = av_realloc(graph->filters,
@@ -89,6 +90,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
return 0;
}
+#endif
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
const char *name, const char *args, void *opaque,