Originally committed as revision 17623 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "avfilter.h" |
| 27 | 27 | #include "avfiltergraph.h" |
| 28 | 28 | |
| 29 | −void avfilter_destroy_graph(AVFilterGraph *graph) | |
| 29 | +void avfilter_graph_destroy(AVFilterGraph *graph) | |
| 30 | 30 | { |
| 31 | 31 | for(; graph->filter_count > 0; graph->filter_count --) |
| 32 | 32 | avfilter_destroy(graph->filters[graph->filter_count - 1]); |
| @@ -64,6 +64,6 @@ int avfilter_graph_config_formats(AVFilterGraph *graphctx); · 63 unmodified lines | ||
| 64 | 64 | /** |
| 65 | 65 | * Free a graph and destroy its links. |
| 66 | 66 | */ |
| 67 | −void avfilter_destroy_graph(AVFilterGraph *graph); | |
| 67 | +void avfilter_graph_destroy(AVFilterGraph *graph); | |
| 68 | 68 | |
| 69 | 69 | #endif /* AVFILTER_AVFILTERGRAPH_H */ |
| @@ -394,7 +394,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, · 393 unmodified lines | ||
| 394 | 394 | return 0; |
| 395 | 395 | |
| 396 | 396 | fail: |
| 397 | − avfilter_destroy_graph(graph); | |
| 397 | + avfilter_graph_destroy(graph); | |
| 398 | 398 | free_inout(open_inputs); |
| 399 | 399 | free_inout(open_outputs); |
| 400 | 400 | free_inout(curr_inputs); |