[vlc-commits] transcode: fix double free (fixes #16258)

Hannes Domani git at videolan.org
Sun Feb 28 20:00:58 CET 2016


vlc/vlc-2.2 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Sat Feb 27 20:53:37 2016 +0100| [62acb1c14895347233904d8b16e2ff6b024cbcf6] | committer: Jean-Baptiste Kempf

transcode: fix double free (fixes #16258)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 22d61da58664cdc8aa59625a6b2e9f0298ac0751)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=62acb1c14895347233904d8b16e2ff6b024cbcf6
---

 modules/stream_out/transcode/video.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 8e3ce67..73b0941 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -174,6 +174,7 @@ int transcode_video_new( sout_stream_t *p_stream, sout_stream_id_sys_t *id )
     id->p_decoder->fmt_out = id->p_decoder->fmt_in;
     id->p_decoder->fmt_out.i_extra = 0;
     id->p_decoder->fmt_out.p_extra = 0;
+    id->p_decoder->fmt_out.psz_language = NULL;
     id->p_decoder->pf_decode_video = NULL;
     id->p_decoder->pf_get_cc = NULL;
     id->p_decoder->pf_get_cc = 0;



More information about the vlc-commits mailing list