Commit 90411f7e authored by Michael Niedermayer's avatar Michael Niedermayer

snowenc: Fix memleak of the ratecontrol related memory

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f13e7331
......@@ -1963,6 +1963,7 @@ static av_cold int encode_end(AVCodecContext *avctx)
SnowContext *s = avctx->priv_data;
ff_snow_common_end(s);
ff_rate_control_uninit(&s->m);
av_frame_unref(&s->input_picture);
av_free(avctx->stats_out);
......
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