vlc | branch: master | Steve Lhomme <[email protected]> | Fri Jun 8 08:59:37 2018 +0200| [a9105c4b0132f189e178f17e33bdf0232c915c33] | committer: Steve Lhomme
demux:mkv: use the proper cast to vlc_tick_t > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9105c4b0132f189e178f17e33bdf0232c915c33 --- modules/demux/mkv/mkv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp index 1cdf9d5a8e..2107bac44d 100644 --- a/modules/demux/mkv/mkv.cpp +++ b/modules/demux/mkv/mkv.cpp @@ -384,7 +384,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) p_sys->p_current_vsegment->i_current_edition = i_idx; p_sys->i_current_title = i_idx; if( VLC_SUCCESS == - Seek( p_demux, static_cast<int64_t>( p_sys->titles[i_idx]->seekpoint[0]->i_time_offset ), -1, NULL) ) + Seek( p_demux, static_cast<vlc_tick_t>( p_sys->titles[i_idx]->seekpoint[0]->i_time_offset ), -1, NULL) ) { p_sys->i_updates |= INPUT_UPDATE_SEEKPOINT|INPUT_UPDATE_TITLE; p_sys->i_current_seekpoint = 0; @@ -405,7 +405,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) // TODO change the way it works with the << & >> buttons on the UI (+1/-1 instead of a number) if( p_sys->titles.size() && i_skp < p_sys->titles[p_sys->i_current_title]->i_seekpoint) { - int i_ret = Seek( p_demux, static_cast<int64_t>( p_sys->titles[p_sys->i_current_title]->seekpoint[i_skp]->i_time_offset ), -1, NULL); + int i_ret = Seek( p_demux, static_cast<vlc_tick_t>( p_sys->titles[p_sys->i_current_title]->seekpoint[i_skp]->i_time_offset ), -1, NULL); if( i_ret == VLC_SUCCESS ) { p_sys->i_updates |= INPUT_UPDATE_SEEKPOINT; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
