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

Hannes Domani git at videolan.org
Sun Feb 28 19:56:48 CET 2016


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

transcode: fix double free (fixes #16258)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22d61da58664cdc8aa59625a6b2e9f0298ac0751
---

 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 2c2d4f3..10ef868 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -128,6 +128,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 = NULL;
+    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_vout_format_update = video_update_format_decoder;



More information about the vlc-commits mailing list