Commit 154d9e74 authored by Antoine Cellerier's avatar Antoine Cellerier

Remove unneed setting of val.b_bool before calling var_Set( p_input,...

Remove unneed setting of val.b_bool before calling var_Set( p_input, "rate-{faster,slower}", val ) in the rc module. Those variables are of type VLC_VAR_VOID.
parent a692c5a4
......@@ -1086,14 +1086,12 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
}
else if ( !strcmp( psz_cmd, "faster" ) )
{
val.b_bool = VLC_TRUE;
var_Set( p_input, "rate-faster", val );
vlc_object_release( p_input );
return VLC_SUCCESS;
}
else if ( !strcmp( psz_cmd, "slower" ) )
{
val.b_bool = VLC_TRUE;
var_Set( p_input, "rate-slower", val );
vlc_object_release( p_input );
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