Commit 8710885a authored by Sigmund Augdal's avatar Sigmund Augdal Committed by Rémi Duraffort

dbus: Fix an integer overflow when seeking more than ~2000 seconds.

(cherry picked from commit b01b54b0)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent e4bbb16b
......@@ -222,7 +222,7 @@ DBUS_METHOD( PositionSet )
if( p_input )
{
position.i_time = i_pos * 1000;
position.i_time = ((mtime_t)i_pos) * 1000;
var_Set( p_input, "time", position );
vlc_object_release( p_input );
}
......
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