oldrc: the value read from atoi is in seconds not mtime_t

This commit is contained in:
Steve Lhomme 2018-05-31 15:20:10 +02:00
parent 709125ac19
commit 5bb86a0cb4
1 changed files with 1 additions and 1 deletions

View File

@ -983,7 +983,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
}
else
{
mtime_t t = atoi( newval.psz_string );
int t = atoi( newval.psz_string );
var_SetInteger( p_input, "time", CLOCK_FREQ * t );
}
i_error = VLC_SUCCESS;