Commit 4b144b28 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mux_ts: remove redundant casts

parent c1f9514e
......@@ -838,17 +838,17 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
switch( i_query )
{
case MUX_CAN_ADD_STREAM_WHILE_MUXING:
pb_bool = (bool*)va_arg( args, bool * );
pb_bool = va_arg( args, bool * );
*pb_bool = true;
return VLC_SUCCESS;
case MUX_GET_ADD_STREAM_WAIT:
pb_bool = (bool*)va_arg( args, bool * );
pb_bool = va_arg( args, bool * );
*pb_bool = false;
return VLC_SUCCESS;
case MUX_GET_MIME:
ppsz = (char**)va_arg( args, char ** );
ppsz = va_arg( args, char ** );
*ppsz = strdup( "video/mp2t" );
return VLC_SUCCESS;
......
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