[vlc-devel] [PATCH 06/16] demux:asf: use MTIME_TO_SEC() to log seconds
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jun 7 11:59:50 CEST 2018
---
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 bfa58600a5..230489613b 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -356,7 +356,7 @@ static int SeekIndex( demux_t *p_demux, mtime_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 ? (int)(i_date/CLOCK_FREQ) : -1, f_pos );
+ i_date >= 0 ? MTIME_TO_SEC(i_date) : -1, f_pos );
if( i_date < 0 )
i_date = p_sys->i_length * f_pos;
--
2.17.0
More information about the vlc-devel
mailing list