You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_mcdeint: free the AVCodecContext struct properly
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -154,10 +154,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
MCDeintContext *mcdeint = ctx->priv;
|
||||
|
||||
if (mcdeint->enc_ctx) {
|
||||
avcodec_close(mcdeint->enc_ctx);
|
||||
av_freep(&mcdeint->enc_ctx);
|
||||
}
|
||||
avcodec_free_context(&mcdeint->enc_ctx);
|
||||
}
|
||||
|
||||
static int query_formats(AVFilterContext *ctx)
|
||||
|
Reference in New Issue
Block a user