[FFmpeg-cvslog] snowenc: Fix memleak of the ratecontrol related memory
Michael Niedermayer
git at videolan.org
Wed Aug 28 21:02:32 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 28 20:53:21 2013 +0200| [90411f7ed669d2f823468c4157647d73b0b28ebe] | committer: Michael Niedermayer
snowenc: Fix memleak of the ratecontrol related memory
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90411f7ed669d2f823468c4157647d73b0b28ebe
---
libavcodec/snowenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index 33d7685..3a113d0 100644
--- a/libavcodec/snowenc.c
+++ b/libavcodec/snowenc.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list