1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavfi: fix forgotten chunk in eb0f774d.

This commit is contained in:
Clément Bœsch 2013-04-12 14:07:59 +02:00
parent 0acf7e268b
commit 6b5ec76283

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;