[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.155,1.156
Michael Niedermayer CVS
michael
Wed Sep 21 10:14:20 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/tests libav.regression.ref, 1.75, 1.76 regression.sh, 1.82, 1.83 rotozoom.c, 1.5, 1.6 test.conf, 1.7, 1.8 videogen.c, 1.4, 1.5
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 dsputil_mmx.c, 1.101, 1.102 mpegvideo_mmx_template.c, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv15947
Modified Files:
h264.c
Log Message:
Just noticed there is a memory leak in h264.c with the usage of rbsp_buffer.
Here is a patch which frees the rbsp_buffer in decode_end().
patch by (G?bor Kov?cs | picard / demoscene \ hu)
Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- h264.c 17 Sep 2005 08:15:07 -0000 1.155
+++ h264.c 21 Sep 2005 08:14:17 -0000 1.156
@@ -7807,6 +7807,7 @@
H264Context *h = avctx->priv_data;
MpegEncContext *s = &h->s;
+ av_freep(&h->rbsp_buffer);
free_tables(h); //FIXME cleanup init stuff perhaps
MPV_common_end(s);
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/tests libav.regression.ref, 1.75, 1.76 regression.sh, 1.82, 1.83 rotozoom.c, 1.5, 1.6 test.conf, 1.7, 1.8 videogen.c, 1.4, 1.5
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 dsputil_mmx.c, 1.101, 1.102 mpegvideo_mmx_template.c, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list