vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Mon Jun 18 09:40:33 2018 +0200| [2f270fa3573deb399ab6f8260e8eb1403c8f8343] | committer: Steve Lhomme
live555: use helper function to convert to vlc_tick_t from floating point seconds > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f270fa3573deb399ab6f8260e8eb1403c8f8343 --- modules/access/live555.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp index 62d8142144..acf38f251a 100644 --- a/modules/access/live555.cpp +++ b/modules/access/live555.cpp @@ -1521,7 +1521,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) pi64 = va_arg( args, int64_t * ); if( p_sys->f_npt > 0 ) { - *pi64 = (int64_t)(p_sys->f_npt * (double)CLOCK_FREQ); + *pi64 = vlc_tick_from_sec(p_sys->f_npt); return VLC_SUCCESS; } return VLC_EGENERIC; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits