[vlc-commits] upnp sd: fix warning
Mirsal Ennaime
git at videolan.org
Thu Dec 27 22:40:00 CET 2012
vlc | branch: master | Mirsal Ennaime <mirsal at videolan.org> | Thu Dec 27 22:39:12 2012 +0100| [83cb6f5a3c209164f93e3ee67434a7cbdf2ccb60] | committer: Mirsal Ennaime
upnp sd: fix warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=83cb6f5a3c209164f93e3ee67434a7cbdf2ccb60
---
modules/services_discovery/upnp.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index 4dbcf1f..538ab1c 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -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 );
More information about the vlc-commits
mailing list