Commit f54e06fe authored by Michael Niedermayer's avatar Michael Niedermayer

vf_deshake: try to fix memleak

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment