Browse Source

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

Stefano Sabatini 16 years ago
parent
commit
d7dbe55823
3 changed files with 3 additions and 3 deletions
  1. 1 1
      libavfilter/avfiltergraph.c
  2. 1 1
      libavfilter/avfiltergraph.h
  3. 1 1
      libavfilter/graphparser.c

+ 1 - 1
libavfilter/avfiltergraph.c

@@ -26,7 +26,7 @@
 #include "avfilter.h"
 #include "avfilter.h"
 #include "avfiltergraph.h"
 #include "avfiltergraph.h"
 
 
-void avfilter_destroy_graph(AVFilterGraph *graph)
+void avfilter_graph_destroy(AVFilterGraph *graph)
 {
 {
     for(; graph->filter_count > 0; graph->filter_count --)
     for(; graph->filter_count > 0; graph->filter_count --)
         avfilter_destroy(graph->filters[graph->filter_count - 1]);
         avfilter_destroy(graph->filters[graph->filter_count - 1]);

+ 1 - 1
libavfilter/avfiltergraph.h

@@ -64,6 +64,6 @@ int avfilter_graph_config_formats(AVFilterGraph *graphctx);
 /**
 /**
  * Free a graph and destroy its links.
  * Free a graph and destroy its links.
  */
  */
-void avfilter_destroy_graph(AVFilterGraph *graph);
+void avfilter_graph_destroy(AVFilterGraph *graph);
 
 
 #endif  /* AVFILTER_AVFILTERGRAPH_H */
 #endif  /* AVFILTER_AVFILTERGRAPH_H */

+ 1 - 1
libavfilter/graphparser.c

@@ -394,7 +394,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
     return 0;
     return 0;
 
 
  fail:
  fail:
-    avfilter_destroy_graph(graph);
+    avfilter_graph_destroy(graph);
     free_inout(open_inputs);
     free_inout(open_inputs);
     free_inout(open_outputs);
     free_inout(open_outputs);
     free_inout(curr_inputs);
     free_inout(curr_inputs);