Commit 24127e33 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PLS: use atoll() to parse length

parent f532c117
......@@ -201,7 +201,7 @@ static int Demux( demux_t *p_demux )
}
else if( !strncasecmp( psz_key, "length", sizeof("length") -1 ) )
{
i_duration = atoi( psz_value );
i_duration = atoll( psz_value );
if( i_duration != -1 )
{
i_duration *= 1000000;
......
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