[vlc-devel] [PATCH 05/16] demux:asf: express CHUNK in mtime_t
Steve Lhomme
robux4 at ycbcr.xyz
Thu Jun 7 11:59:49 CEST 2018
100 ms
---
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 fb0100cf13..bfa58600a5 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -186,7 +186,7 @@ static int Open( vlc_object_t * p_this )
/*****************************************************************************
* Demux: read packet and send them to decoders
*****************************************************************************/
-#define CHUNK (CLOCK_FREQ / 10)
+#define CHUNK MS_TO_MTIME(100)
static int Demux( demux_t *p_demux )
{
demux_sys_t *p_sys = p_demux->p_sys;
--
2.17.0
More information about the vlc-devel
mailing list