[vlc-commits] theora: fix memleak in case of error or discontinuity
Rafaël Carré
git at videolan.org
Wed Oct 16 18:43:14 CEST 2013
vlc/vlc-2.1 | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 15 17:06:27 2013 +0200| [45aae4ebf0da228c5f0457dc41845e7c92775ace] | 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.1.git/?a=commit;h=45aae4ebf0da228c5f0457dc41845e7c92775ace
---
modules/codec/theora.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/theora.c b/modules/codec/theora.c
index a052b46..86ac5d6 100644
--- a/modules/codec/theora.c
+++ b/modules/codec/theora.c
@@ -413,6 +413,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