Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 26 Feb 2009 22:02:09 +0000 (22:02 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 26 Feb 2009 22:02:09 +0000 (22:02 +0000)
consistency with the rest of the API.

Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h
libavfilter/graphparser.c

index e97507dcf4c504e3cde74ce9e5e90d2c3ab4414b..4b24508f5fc5f70e9cc4e6964bd0a58315ca51ee 100644 (file)
@@ -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]);
index 88820ac7f46ad1c6809afb7ec23d49078e601a41..fcc53ba018e3cf847926ac7c5ce7fb45142117ad 100644 (file)
@@ -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 */
index 69f92237f1d913602f1982b406f32b5de6c24628..d1cc16759f39a7ac191d08cb5861ead3c3b949f6 100644 (file)
@@ -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);