Commit 83cb6f5a authored by Mirsal Ennaime's avatar Mirsal Ennaime

upnp sd: fix warning

parent 51e34e89
......@@ -892,7 +892,7 @@ bool MediaServer::_fetchContents( Container* p_parent, int i_offset )
if ( psz_duration )
{
if( sscanf( psz_duration, "%d:%02d:%02d",
&i_hours, &i_minutes, &i_seconds, &i_decis ))
&i_hours, &i_minutes, &i_seconds ) )
i_duration = INT64_C(1000000) * ( i_hours*3600 +
i_minutes*60 +
i_seconds );
......
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