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 <>
Signed-off-by: default avatarRémi Denis-Courmont <>
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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment