From a0ebbe07d9a11fadb802ffd611d6cb2e02a6edb7 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 7 Jun 2018 11:21:03 +0200 Subject: [PATCH] demux:asf: replace hardcoded CLOCK_FREQ equivalent --- 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 af77efc1c3..fb0100cf13 100644 --- a/modules/demux/asf/asf.c +++ b/modules/demux/asf/asf.c @@ -1255,7 +1255,7 @@ static int DemuxInit( demux_t *p_demux ) if( p_sys->i_length > 0 ) { - p_sys->i_bitrate = 8 * i_size * 1000000 / p_sys->i_length; + p_sys->i_bitrate = 8 * i_size * CLOCK_FREQ / p_sys->i_length; } } -- 2.11.4.GIT