transcode: fix double free (fixes #16258)
authorHannes Domani <ssbssa@yahoo.de>
Sat, 27 Feb 2016 19:53:37 +0000 (20:53 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 28 Feb 2016 18:56:15 +0000 (19:56 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/stream_out/transcode/video.c

index 2c2d4f3..10ef868 100644 (file)
@@ -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;