From d7dbe55823d7b4741889463c0e73703a172bbffb Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 26 Feb 2009 22:02:09 +0000 Subject: Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better consistency with the rest of the API. Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfiltergraph.c | 2 +- libavfilter/avfiltergraph.h | 2 +- libavfilter/graphparser.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index e97507dcf4..4b24508f5f 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -26,7 +26,7 @@ #include "avfilter.h" #include "avfiltergraph.h" -void avfilter_destroy_graph(AVFilterGraph *graph) +void avfilter_graph_destroy(AVFilterGraph *graph) { for(; graph->filter_count > 0; graph->filter_count --) avfilter_destroy(graph->filters[graph->filter_count - 1]); diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h index 88820ac7f4..fcc53ba018 100644 --- a/libavfilter/avfiltergraph.h +++ b/libavfilter/avfiltergraph.h @@ -64,6 +64,6 @@ int avfilter_graph_config_formats(AVFilterGraph *graphctx); /** * Free a graph and destroy its links. */ -void avfilter_destroy_graph(AVFilterGraph *graph); +void avfilter_graph_destroy(AVFilterGraph *graph); #endif /* AVFILTER_AVFILTERGRAPH_H */ diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index 69f92237f1..d1cc16759f 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -394,7 +394,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, return 0; fail: - avfilter_destroy_graph(graph); + avfilter_graph_destroy(graph); free_inout(open_inputs); free_inout(open_outputs); free_inout(curr_inputs); -- cgit v1.2.3