aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/network/upnp/UPnPPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/network/upnp/UPnPPlayer.cpp b/xbmc/network/upnp/UPnPPlayer.cpp
index d0c306bdf6..82ae8838d9 100644
--- a/xbmc/network/upnp/UPnPPlayer.cpp
+++ b/xbmc/network/upnp/UPnPPlayer.cpp
@@ -54,7 +54,7 @@ public:
, m_callback(callback)
, m_postime(0)
{
- memset(&m_posinfo, 0, sizeof(m_posinfo));
+ m_posinfo = {};
m_device->FindServiceByType("urn:schemas-upnp-org:service:AVTransport:1", m_transport);
}