Revision caeb0c30

View differences:

libavfilter/avfilter.h
28 28

  
29 29
#define LIBAVFILTER_VERSION_MAJOR  1
30 30
#define LIBAVFILTER_VERSION_MINOR 73
31
#define LIBAVFILTER_VERSION_MICRO  0
31
#define LIBAVFILTER_VERSION_MICRO  1
32 32

  
33 33
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
34 34
                                               LIBAVFILTER_VERSION_MINOR, \
libavfilter/avfiltergraph.c
34 34

  
35 35
void avfilter_graph_free(AVFilterGraph *graph)
36 36
{
37
    if (!graph)
38
        return;
37 39
    for (; graph->filter_count > 0; graph->filter_count --)
38 40
        avfilter_free(graph->filters[graph->filter_count - 1]);
39 41
    av_freep(&graph->scale_sws_opts);
libavfilter/avfiltergraph.h
79 79
int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx);
80 80

  
81 81
/**
82
 * Free a graph and destroy its links.
82
 * Free a graph and destroy its links, graph may be NULL.
83 83
 */
84 84
void avfilter_graph_free(AVFilterGraph *graph);
85 85

  

Also available in: Unified diff