Commit 7e6fe753 authored by ssbssa's avatar ssbssa Committed by Jean-Baptiste Kempf
Browse files

demux: ts: fix uninitialized fields (fix #15319)


Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent b0469c76
......@@ -4500,7 +4500,7 @@ static void PMTSetupEsDvbSubtitle( demux_t *p_demux, ts_pes_t *p_pes,
}
else
{
p_subs_es = malloc( sizeof(*p_subs_es) );
p_subs_es = calloc( 1, sizeof(*p_subs_es) );
if( !p_subs_es )
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment