提交 f54e06fe 编写于 作者: M Michael Niedermayer

vf_deshake: try to fix memleak

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 9aa7b3cd
......@@ -418,6 +418,8 @@ static av_cold void uninit(AVFilterContext *ctx)
avfilter_unref_buffer(deshake->ref);
if (deshake->fp)
fclose(deshake->fp);
avcodec_close(deshake->avctx);
av_freep(&deshake->avctx);
}
static void end_frame(AVFilterLink *link)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册