[vlc-commits] demux: stl: call DEMUX_SET_TIME using an vlc_tick_t

Steve Lhomme git at videolan.org
Thu Sep 20 12:44:04 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun  4 12:14:56 2018 +0200| [f922313bc739d622733162086ff9fd47f47190b1] | committer: Steve Lhomme

demux: stl: call DEMUX_SET_TIME using an vlc_tick_t

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f922313bc739d622733162086ff9fd47f47190b1
---

 modules/demux/stl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/stl.c b/modules/demux/stl.c
index af20931638..5748238c4d 100644
--- a/modules/demux/stl.c
+++ b/modules/demux/stl.c
@@ -138,7 +138,7 @@ static int Control(demux_t *demux, int query, va_list args)
         double f = va_arg( args, double );
         if(sys->count && sys->index[sys->count-1].stop > 0)
         {
-            int64_t i64 = f * sys->index[sys->count-1].stop;
+            vlc_tick_t i64 = f * sys->index[sys->count-1].stop;
             return demux_Control(demux, DEMUX_SET_TIME, i64);
         }
         break;



More information about the vlc-commits mailing list