avfilter/af_acrossover: free all output frames on error

pull/343/head
Paul B Mahol 5 years ago
parent cd671ea083
commit 7e8721e98e
  1. 2
      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;

Loading…
Cancel
Save