diff options
-rw-r--r-- | libavfilter/vf_deshake.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index bb20551bc9..cdece5c1bf 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -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) |