[FFmpeg-cvslog] r17623 - in trunk/libavfilter: avfiltergraph.c avfiltergraph.h graphparser.c
stefano
subversion
Thu Feb 26 23:02:09 CET 2009
Author: stefano
Date: Thu Feb 26 23:02:09 2009
New Revision: 17623
Log:
Rename avfilter_destroy_graph() to avfilter_graph_destroy(), for better
consistency with the rest of the API.
Modified:
trunk/libavfilter/avfiltergraph.c
trunk/libavfilter/avfiltergraph.h
trunk/libavfilter/graphparser.c
Modified: trunk/libavfilter/avfiltergraph.c
==============================================================================
--- trunk/libavfilter/avfiltergraph.c Thu Feb 26 22:09:24 2009 (r17622)
+++ trunk/libavfilter/avfiltergraph.c Thu Feb 26 23:02:09 2009 (r17623)
@@ -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]);
Modified: trunk/libavfilter/avfiltergraph.h
==============================================================================
--- trunk/libavfilter/avfiltergraph.h Thu Feb 26 22:09:24 2009 (r17622)
+++ trunk/libavfilter/avfiltergraph.h Thu Feb 26 23:02:09 2009 (r17623)
@@ -64,6 +64,6 @@ int avfilter_graph_config_formats(AVFilt
/**
* Free a graph and destroy its links.
*/
-void avfilter_destroy_graph(AVFilterGraph *graph);
+void avfilter_graph_destroy(AVFilterGraph *graph);
#endif /* AVFILTER_AVFILTERGRAPH_H */
Modified: trunk/libavfilter/graphparser.c
==============================================================================
--- trunk/libavfilter/graphparser.c Thu Feb 26 22:09:24 2009 (r17622)
+++ trunk/libavfilter/graphparser.c Thu Feb 26 23:02:09 2009 (r17623)
@@ -394,7 +394,7 @@ int avfilter_parse_graph(AVFilterGraph *
return 0;
fail:
- avfilter_destroy_graph(graph);
+ avfilter_graph_destroy(graph);
free_inout(open_inputs);
free_inout(open_outputs);
free_inout(curr_inputs);
More information about the ffmpeg-cvslog
mailing list