You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
vf_deshake: try to fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -418,6 +418,8 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
avfilter_unref_buffer(deshake->ref);
|
avfilter_unref_buffer(deshake->ref);
|
||||||
if (deshake->fp)
|
if (deshake->fp)
|
||||||
fclose(deshake->fp);
|
fclose(deshake->fp);
|
||||||
|
avcodec_close(deshake->avctx);
|
||||||
|
av_freep(&deshake->avctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void end_frame(AVFilterLink *link)
|
static void end_frame(AVFilterLink *link)
|
||||||
|
Reference in New Issue
Block a user