Commit 5bb86a0c authored by Steve Lhomme's avatar Steve Lhomme

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

parent 709125ac
......@@ -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;
......
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