vlc | branch: master | Steve Lhomme <[email protected]> | Thu Sep 20 16:53:27 2018 +0200| [70b8705f567626f9c57fd3c3087d557ab10850b1] | committer: Steve Lhomme
modules: use vlc_tick_t casting > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70b8705f567626f9c57fd3c3087d557ab10850b1 --- modules/access/vdr.c | 2 +- modules/demux/vc1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/access/vdr.c b/modules/access/vdr.c index 66376d2e18..b86337e762 100644 --- a/modules/access/vdr.c +++ b/modules/access/vdr.c @@ -816,7 +816,7 @@ static void ImportMarks( stream_t *p_access ) return; } p_marks->psz_name = strdup( _("VDR Cut Marks") ); - p_marks->i_length = i_frame_count * (int64_t)( CLOCK_FREQ / p_sys->fps ); + p_marks->i_length = i_frame_count * (vlc_tick_t)( CLOCK_FREQ / p_sys->fps ); uint64_t *offsetv = NULL; diff --git a/modules/demux/vc1.c b/modules/demux/vc1.c index cf4fcb14d4..e84f1d8d39 100644 --- a/modules/demux/vc1.c +++ b/modules/demux/vc1.c @@ -184,7 +184,7 @@ static int Demux( demux_t *p_demux) p_sys->p_packetizer->fmt_out.video.i_frame_rate_base, p_sys->p_packetizer->fmt_out.video.i_frame_rate ); else if( p_sys->f_fps > 0.001f ) - p_sys->i_dts += (int64_t)((float) CLOCK_FREQ / p_sys->f_fps); + p_sys->i_dts += (vlc_tick_t)((float) CLOCK_FREQ / p_sys->f_fps); else p_sys->i_dts += VLC_TICK_FROM_MS(40); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
