Commit 95d126fe authored by Christophe Massiot's avatar Christophe Massiot

* modules/access/fake.c: Fixed an integer overflow.

parent 327782b2
......@@ -102,7 +102,8 @@ static int Open( vlc_object_t *p_this )
p_demux->info.i_title = 0;
p_demux->info.i_seekpoint = 0;
p_sys->i_duration = var_CreateGetInteger( p_demux, "fake-duration" ) * 1000;
p_sys->i_duration =
(mtime_t)var_CreateGetInteger( p_demux, "fake-duration" ) * 1000;
p_sys->f_fps = var_CreateGetFloat( p_demux, "fake-fps" );
/* Declare the elementary stream */
......
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