Remove unneed setting of val.b_bool before calling var_Set( p_input, "rate-{faster...
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 4 Nov 2007 21:07:50 +0000 (21:07 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 4 Nov 2007 21:07:50 +0000 (21:07 +0000)
modules/control/rc.c

index 6f2f681..e316691 100644 (file)
@@ -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;