Commit 6bb7fbf3 authored by Sigmund Augdal's avatar Sigmund Augdal Committed by panelpc

Fix an integer overflow in seeks of more than ~2000 seconds

parent a29d93e7
......@@ -232,7 +232,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