diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-12 21:31:11 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-14 17:23:57 +0100 |
commit | c4ba5198ea48f8f648d85a853ea46e29001c12c8 (patch) | |
tree | b2cada03e1941b6241bcffdf24a6296c1450da7f /libavcodec/binkdsp.h | |
parent | 45c39e566fe6d263e6ce0268b4629e5de3aa4d0c (diff) | |
download | ffmpeg-c4ba5198ea48f8f648d85a853ea46e29001c12c8.tar.gz |
Fix leaking of side data.
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@gmx.de>
Diffstat (limited to 'libavcodec/binkdsp.h')
0 files changed, 0 insertions, 0 deletions