[vlc-commits] demux:mp4: the local i_time in FragGetMoofByTfraIndex() is not an mtime_t

Steve Lhomme git at videolan.org
Thu Jun 14 16:41:14 CEST 2018


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

demux:mp4: the local i_time in FragGetMoofByTfraIndex() is not an mtime_t

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

 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 fd181f3332..5982605c0a 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -4837,7 +4837,7 @@ static int FragGetMoofByTfraIndex( demux_t *p_demux, const mtime_t i_target_time
                 stime_t i_track_target_time = MP4_rescale( i_target_time, CLOCK_FREQ, p_track->i_timescale );
                 for ( uint32_t i = 0; i<p_data->i_number_of_entries; i += ( p_data->i_version == 1 ) ? 2 : 1 )
                 {
-                    mtime_t i_time;
+                    stime_t i_time;
                     uint64_t i_offset;
                     if ( p_data->i_version == 1 )
                     {



More information about the vlc-commits mailing list