[vlc-commits] demux:asf: log the seconds as integers

Steve Lhomme git at videolan.org
Fri Jul 6 09:31:59 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul  6 09:31:52 2018 +0200| [edb24709a5ea037a3304f6288c016f3b15191226] | committer: Steve Lhomme

demux:asf: log the seconds as integers

As it was before

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

 modules/demux/asf/asf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index c4f13a3fa0..793c40954e 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -356,7 +356,7 @@ static int SeekIndex( demux_t *p_demux, vlc_tick_t i_date, float f_pos )
     asf_object_index_t *p_index;
 
     msg_Dbg( p_demux, "seek with index: %i seconds, position %f",
-             i_date >= 0 ? SEC_FROM_VLC_TICK(i_date) : -1, f_pos );
+             i_date >= 0 ? (int)SEC_FROM_VLC_TICK(i_date) : -1, f_pos );
 
     if( i_date < 0 )
         i_date = p_sys->i_length * f_pos;



More information about the vlc-commits mailing list