[vlc-commits] demux: vobsub: the start time is an vlc_tick_t

Steve Lhomme git at videolan.org
Wed Sep 19 15:46:21 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun  4 09:29:55 2018 +0200| [363fb3ae1dd98c39cab4869ebbea0320c3f7d08d] | committer: Steve Lhomme

demux: vobsub: the start time is an vlc_tick_t

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

 modules/demux/vobsub.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/vobsub.c b/modules/demux/vobsub.c
index 2f34a04d20..5e917046da 100644
--- a/modules/demux/vobsub.c
+++ b/modules/demux/vobsub.c
@@ -580,7 +580,8 @@ static int ParseVobSubIDX( demux_t *p_demux )
              */
             int h, m, s, ms, count, loc = 0;
             int i_sign = 1;
-            int64_t i_start, i_location = 0;
+            vlc_tick_t i_start;
+            int64_t i_location = 0;
 
             if( p_sys->i_tracks > 0 &&
                 sscanf( line, "timestamp: %d%n:%d:%d:%d, filepos: %x",



More information about the vlc-commits mailing list