[vlc-commits] mux:mp4: the i_stream_duration is not an vlc_tick_t but scaled to movie

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jun 11 17:48:38 2018 +0200| [c77a10259defeac83d74043868fac2a171c3ff30] | committer: Steve Lhomme

mux:mp4: the i_stream_duration is not an vlc_tick_t but scaled to movie

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

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

diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index bfcb730b05..cac07aaf62 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -1471,7 +1471,7 @@ bo_t * mp4mux_GetMoovBox(vlc_object_t *p_obj, mp4mux_trackinfo_t **pp_tracks, un
     for (unsigned int i_trak = 0; i_trak < i_tracks; i_trak++) {
         mp4mux_trackinfo_t *p_stream = pp_tracks[i_trak];
 
-        vlc_tick_t i_stream_duration;
+        int64_t i_stream_duration;
         if ( !b_fragmented )
             i_stream_duration = p_stream->i_read_duration * i_movie_timescale / CLOCK_FREQ;
         else



More information about the vlc-commits mailing list