[vlc-devel] commit: Avoid leaking images in invmem codec (Hugo Beauzee-Luyssen )
git version control
git at videolan.org
Thu May 28 16:51:14 CEST 2009
vlc | branch: 1.0-bugfix | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Thu May 28 16:29:29 2009 +0200| [e79d8491b3e8779137914e48daeeaeedd60bbaf8] | committer: Jean-Baptiste Kempf
Avoid leaking images in invmem codec
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e79d8491b3e8779137914e48daeeaeedd60bbaf8
---
modules/codec/invmem.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/modules/codec/invmem.c b/modules/codec/invmem.c
index d672ecb..e8490b7 100644
--- a/modules/codec/invmem.c
+++ b/modules/codec/invmem.c
@@ -191,7 +191,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if( p_sys->p_pic != NULL )
picture_Release( p_sys->p_pic );
p_sys->p_pic = decoder_NewPicture( p_dec );
- p_sys->p_pic = p_dec->pf_vout_buffer_new( p_dec );
p_sys->p_pic->b_force = true;
p_sys->p_pic->p->i_pitch = p_dec->p_sys->i_pitch;
p_sys->p_pic->date = p_block->i_pts > 0 ? p_block->i_pts : p_block->i_dts;
More information about the vlc-devel
mailing list