diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-12 14:07:59 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-12 14:08:04 +0200 |
commit | 6b5ec762830d2984da8d5cc4e3edd20899b9f45a (patch) | |
tree | ab499afe6dd9c656a96658142fd290ab307e2c29 /libavfilter | |
parent | 0acf7e268b2f873379cd854b4d5aaba6f9c1f0b5 (diff) | |
download | ffmpeg-6b5ec762830d2984da8d5cc4e3edd20899b9f45a.tar.gz |
lavfi: fix forgotten chunk in eb0f774d.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/graphparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index bd6863e92f..3718d09c99 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -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; |