Revision 97dd1e4a

View differences:

doc/APIchanges
13 13

  
14 14
API changes, most recent first:
15 15

  
16
2010-11-04 - r25673 - lavfi 1.56.0 - avfilter_graph_free()
17
  Rename avfilter_graph_destroy() to avfilter_graph_free().
18
  This change breaks libavfilter API/ABI.
19

  
16 20
2010-11-04 - r25672 - lavfi 1.55.0 - avfilter_graph_alloc()
17 21
  Add avfilter_graph_alloc() to libavfilter/avfiltergraph.h.
18 22

  
ffmpeg.c
2628 2628
    }
2629 2629
#if CONFIG_AVFILTER
2630 2630
    if (graph) {
2631
        avfilter_graph_destroy(graph);
2631
        avfilter_graph_free(graph);
2632 2632
        av_freep(&graph);
2633 2633
    }
2634 2634
#endif
ffplay.c
1886 1886
    }
1887 1887
 the_end:
1888 1888
#if CONFIG_AVFILTER
1889
    avfilter_graph_destroy(graph);
1889
    avfilter_graph_free(graph);
1890 1890
    av_freep(&graph);
1891 1891
#endif
1892 1892
    av_free(frame);
libavfilter/avfilter.h
25 25
#include "libavutil/avutil.h"
26 26

  
27 27
#define LIBAVFILTER_VERSION_MAJOR  1
28
#define LIBAVFILTER_VERSION_MINOR 55
28
#define LIBAVFILTER_VERSION_MINOR 56
29 29
#define LIBAVFILTER_VERSION_MICRO  0
30 30

  
31 31
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
libavfilter/avfiltergraph.c
31 31
    return av_mallocz(sizeof(AVFilterGraph));
32 32
}
33 33

  
34
void avfilter_graph_destroy(AVFilterGraph *graph)
34
void avfilter_graph_free(AVFilterGraph *graph)
35 35
{
36 36
    for(; graph->filter_count > 0; graph->filter_count --)
37 37
        avfilter_destroy(graph->filters[graph->filter_count - 1]);
libavfilter/avfiltergraph.h
85 85
/**
86 86
 * Free a graph and destroy its links.
87 87
 */
88
void avfilter_graph_destroy(AVFilterGraph *graph);
88
void avfilter_graph_free(AVFilterGraph *graph);
89 89

  
90 90
#endif  /* AVFILTER_AVFILTERGRAPH_H */
libavfilter/graphparser.c
375 375
    return 0;
376 376

  
377 377
 fail:
378
    avfilter_graph_destroy(graph);
378
    avfilter_graph_free(graph);
379 379
    free_inout(open_inputs);
380 380
    free_inout(open_outputs);
381 381
    free_inout(curr_inputs);

Also available in: Unified diff