]> git.sesse.net Git - vlc/commitdiff
* modules/access/fake.c: Fixed an implicit cast which apparently was
authorChristophe Massiot <massiot@videolan.org>
Tue, 31 May 2005 15:20:35 +0000 (15:20 +0000)
committerChristophe Massiot <massiot@videolan.org>
Tue, 31 May 2005 15:20:35 +0000 (15:20 +0000)
   causing problem with some compiler versions.

modules/access/fake.c

index 8b7b7de75642d828ca21844e9f97d7ac2a18dac1..4eb40746b8cf2a0a350bf2d3aa6880addc41c61b 100644 (file)
@@ -174,7 +174,7 @@ static int Demux( demux_t *p_demux )
     }
     else
     {
-        p_sys->i_last_pts += I64C(1000000) / p_sys->f_fps;
+        p_sys->i_last_pts += (mtime_t)(1000000.0 / p_sys->f_fps);
         mwait( p_sys->i_last_pts );
     }