Browse Source

lavfi: fix forgotten chunk in eb0f774d.

tags/n2.0
Clément Bœsch 12 years ago
parent
commit
6b5ec76283
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/graphparser.c

+ 2
- 2
libavfilter/graphparser.c View File

@@ -586,8 +586,8 @@ end:
avfilter_inout_free(&curr_inputs);

if (ret < 0) {
for (; graph->nb_filters > 0; graph->nb_filters--)
avfilter_free(graph->filters[graph->nb_filters - 1]);
while (graph->nb_filters)
avfilter_free(graph->filters[0]);
av_freep(&graph->filters);
}
return ret;


Loading…
Cancel
Save