[FFmpeg-devel] [PATCH] Fix leaking of side data.
Michael Niedermayer
michaelni at gmx.at
Sat Jan 14 00:28:34 CET 2012
On Fri, Jan 13, 2012 at 07:53:14PM +0100, Reimar Döffinger wrote:
> While we correctly "register" the side data when we split it,
> the application (in this case FFmpeg) might not update the
> AVPacket pool it uses to finally free the packet, thus
> causing a leak.
> This also makes the av_dup_packet unnecessary which could
> cause an even worse leak in this situation.
> Also change the code to not modify the user-provide AVPacket at all.
>
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
not pretty but ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120114/9995695d/attachment.asc>
More information about the ffmpeg-devel
mailing list