[FFmpeg-devel] [PATCH] Extradata memleak in libx264.c

Ralf Terdic contact
Thu Oct 2 13:47:13 CEST 2008


Hi,

In libx264.c, at the bottom of X264_init, avctx->extradata is allocated, but 
it's never freed. If the codec is repeatedly opened and closed, then the 
resulting leak is quite considerable.

Please review and apply the attached fix.

Thanks,
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libx264_extradata_leak.diff
Type: text/x-diff
Size: 414 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081002/2904aa25/attachment.diff>



More information about the ffmpeg-devel mailing list