lavfi: fix forgotten chunk in eb0f774d.

pull/21/head
Clément Bœsch 12 years ago
parent 0acf7e268b
commit 6b5ec76283
  1. 4
      libavfilter/graphparser.c

@ -586,8 +586,8 @@ end:
avfilter_inout_free(&curr_inputs); avfilter_inout_free(&curr_inputs);
if (ret < 0) { if (ret < 0) {
for (; graph->nb_filters > 0; graph->nb_filters--) while (graph->nb_filters)
avfilter_free(graph->filters[graph->nb_filters - 1]); avfilter_free(graph->filters[0]);
av_freep(&graph->filters); av_freep(&graph->filters);
} }
return ret; return ret;

Loading…
Cancel
Save