Revision caeb0c30 libavfilter/avfiltergraph.c

View differences:

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);

Also available in: Unified diff