[vlc-commits] theora: fix memleak in case of error or discontinuity
Rafaël Carré
git at videolan.org
Tue Oct 22 09:40:12 CEST 2013
vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 15 17:06:27 2013 +0200| [902dc4c667dab638aa426c5c4369b1a45675a809] | committer: Jean-Baptiste Kempf
theora: fix memleak in case of error or discontinuity
Closes #9414
(cherry picked from commit 75946591b91bb1b117d3d1e74081fa709a34315c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=902dc4c667dab638aa426c5c4369b1a45675a809
---
modules/codec/theora.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/theora.c b/modules/codec/theora.c
index b3c7b74..ef81d27 100644
--- a/modules/codec/theora.c
+++ b/modules/codec/theora.c
@@ -409,6 +409,7 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
/* Don't send the the first packet after a discontinuity to
* theora_decode, otherwise we get purple/green display artifacts
* appearing in the video output */
+ block_Release(p_block);
return NULL;
}
More information about the vlc-commits
mailing list