[vlc-commits] demux:mp4: the local i_dur in MP4_TrackSetELST() is not a vlc_tick_t

Steve Lhomme git at videolan.org
Fri Jul 6 09:20:30 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun  8 14:28:07 2018 +0200| [ff901e215ecae05d629d05a648057a85260967e6] | committer: Steve Lhomme

demux:mp4: the local i_dur in MP4_TrackSetELST() is not a vlc_tick_t

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

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

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 7d6f309c78..a1f98949b9 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -4003,7 +4003,7 @@ static void MP4_TrackSetELST( demux_t *p_demux, mp4_track_t *tk,
 
         for( tk->i_elst = 0; (unsigned int)tk->i_elst < elst->i_entry_count; tk->i_elst++ )
         {
-            vlc_tick_t i_dur = elst->i_segment_duration[tk->i_elst];
+            uint64_t i_dur = elst->i_segment_duration[tk->i_elst];
 
             if( tk->i_elst_time <= i_mvt && i_mvt < tk->i_elst_time + i_dur )
             {



More information about the vlc-commits mailing list