diff options
-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); |