Commit 520b8ffc authored by David Flynn's avatar David Flynn Committed by Rémi Denis-Courmont

Fix calculation with uninitialized value

In particular, calculating i_dts and i_length in p_stream.
Signed-off-by: default avatarDavid Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent aaee6ea2
......@@ -320,7 +320,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
msg_Dbg( p_mux, "adding input" );
p_input->p_sys = p_stream = malloc( sizeof( ogg_stream_t ) );
p_input->p_sys = p_stream = calloc( 1, sizeof( ogg_stream_t ) );
if( !p_stream )
return VLC_ENOMEM;
......
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