提交 7e8721e9 编写于 作者: P Paul B Mahol

avfilter/af_acrossover: free all output frames on error

上级 cd671ea0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册