Commit 31523f87 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

nsv: Don't cast function return.

parent 750736e0
......@@ -331,7 +331,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
i64 = stream_Size( p_demux->s );
if( i64 > 0 )
{
*pf = (double)stream_Tell( p_demux->s ) / (double)i64;
double current = stream_Tell( p_demux->s );
*pf = current / (double)i64;
}
else
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment