diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-02-07 14:09:24 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-02-07 14:13:06 +0300 |
commit | 7e8721e98e911a92df6047ae3962bdaa96f601bb (patch) | |
tree | c456a9d982ee4a2f7241f93cb67bf52bd060e4e0 /libavfilter | |
parent | cd671ea08351d936eaaf0aa4755ec3df6009d002 (diff) |
avfilter/af_acrossover: free all output frames on error
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_acrossover.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/af_acrossover.c b/libavfilter/af_acrossover.c index 370922d8c9..20d1d2bda9 100644 --- a/libavfilter/af_acrossover.c +++ b/libavfilter/af_acrossover.c @@ -303,6 +303,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) } fail: + for (i = 0; i < ctx->nb_outputs; i++) + av_frame_free(&frames[i]); av_frame_free(&in); s->input_frame = NULL; |