[vlc-devel] commit: dbus: Fix an integer overflow when seeking more than ~2000 seconds. (Sigmund Augdal )
git version control
git at videolan.org
Fri May 29 13:47:43 CEST 2009
vlc | branch: 1.0-bugfix | Sigmund Augdal <sigmund at snap.tv> | Fri May 29 12:52:49 2009 +0200| [8710885a8f095874db39bde23ade1b2e653067a1] | committer: Rémi Duraffort
dbus: Fix an integer overflow when seeking more than ~2000 seconds.
(cherry picked from commit b01b54b072098e1aa401b5177f156d3e42e04f00)
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8710885a8f095874db39bde23ade1b2e653067a1
---
modules/control/dbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/dbus.c b/modules/control/dbus.c
index 1e73594..5704672 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -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 );
}
More information about the vlc-devel
mailing list