[FFmpeg-devel] [PATCH] fix h264 decoder memory leak

Michael Niedermayer michaelni
Thu Nov 12 18:53:21 CET 2009

On Thu, Nov 12, 2009 at 09:52:07AM -0500, Mike Scheutzow wrote:
> The attached patch fixes a memory leak in libavcodec/h264.c. Two buffers 
> were still allocated after the h264 decoder is closed.

there is code a few lines later that is supposed to free them
also rbsp_buffer_size should be reset

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091112/79ed84b3/attachment.pgp>

More information about the ffmpeg-devel mailing list