summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-04 20:09:14 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-04 20:09:14 +0000
commitc4913b812ddac9b85fb0b213fc5433c75bf81fa8 (patch)
treeb40812dffe222d4e32e97beb835c7756dec373cf /libavfilter/avfiltergraph.c
parentd66e946b12c3fa6fc7aefb4ef4526a6d95ce38cc (diff)
Rename uninit() to avfilter_destroy_graph() and make it non-static
Commited in SoC by Vitor Sessak on 2008-03-27 19:34:24 Originally committed as revision 12742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 059e6a3676..a2dc93fafc 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -84,7 +84,7 @@ static const AVClass filter_parser_class = {
static const AVClass *log_ctx = &filter_parser_class;
-static void uninit(AVFilterGraph *graph)
+void avfilter_destroy_graph(AVFilterGraph *graph)
{
for(; graph->filter_count > 0; graph->filter_count --)
avfilter_destroy(graph->filters[graph->filter_count - 1]);
@@ -306,7 +306,7 @@ static int load_from_desc(AVFilterGraph *graph, AVFilterGraphDesc *desc, AVFilte
return 0;
fail:
- uninit(graph);
+ avfilter_destroy_graph(graph);
return -1;
}