Revision d7dbe558

View differences:

libavfilter/avfiltergraph.c
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]);
libavfilter/avfiltergraph.h
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 */
libavfilter/graphparser.c
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);

Also available in: Unified diff