diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-26 22:02:09 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-26 22:02:09 +0000 |
commit | d7dbe55823d7b4741889463c0e73703a172bbffb (patch) | |
tree | 0e2debe527275aa133ec7f74d47b2ace1bb65927 | |
parent | f56995b4a69a3797043f2de078ec0eb85352a4b3 (diff) | |
download | ffmpeg-d7dbe55823d7b4741889463c0e73703a172bbffb.tar.gz |
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
-rw-r--r-- | libavfilter/avfiltergraph.c | 2 | ||||
-rw-r--r-- | libavfilter/avfiltergraph.h | 2 | ||||
-rw-r--r-- | 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); |