[FFmpeg-devel] [PATCH] mpeg-ts demuxer memleak

Jindrich Makovicka makovick
Tue Sep 30 12:45:42 CEST 2008


when auto_guess is used in the MPEG-TS demuxer, PESContext structures
which do not really belong to PES streams are not freed at the end,
because they do not get referenced by the AVStreams. The attached
patch fixes the leak by freeing all PESContexts without a
corresponding stream.

Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegts.diff
Type: text/x-diff
Size: 600 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080930/d37a545f/attachment.diff>

More information about the ffmpeg-devel mailing list