[FFmpeg-devel] Fix memory leak in av_find_stream_info [PATCH]

Samuli Valo samuli.valo
Mon Nov 1 11:26:14 CET 2010


There seems to be memory leak in av_find_stream_info(). On 
libavformat/utils.c:2286 pkt is allocated by av_dup_packet() but its 
never freed. This should be fixed by attached patch.

With best regards,

* Samuli Valo                samuli.valo at picturall.com
* Picturall Ltd.             gsm: +358 40 582 9016
* http://www.picturall.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: av_find_stream_info_memleak.patch
Type: text/x-patch
Size: 846 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101101/b5f26e7f/attachment.bin>

More information about the ffmpeg-devel mailing list