Browse Source

vf_deshake: try to fix memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer 13 years ago
parent
commit
f54e06feb3
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/vf_deshake.c

+ 2
- 0
libavfilter/vf_deshake.c View File

@@ -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)


Loading…
Cancel
Save