[SCM] kodi-pvr-vdr-vnsi/master: memset stream properties
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Fri Nov 4 00:20:20 UTC 2016
The following commit has been merged in the master branch:
commit fbb4325d36729b0cda40aa60c65723f6764a4d0a
Author: Rainer Hochecker <fernetmenta at online.de>
Date: Sat Mar 12 16:40:04 2016 +0100
memset stream properties
diff --git a/src/VNSIDemux.cpp b/src/VNSIDemux.cpp
index 796828e..fc38f0c 100644
--- a/src/VNSIDemux.cpp
+++ b/src/VNSIDemux.cpp
@@ -297,6 +297,8 @@ void cVNSIDemux::StreamChange(cResponsePacket *resp)
uint32_t pid = resp->extract_U32();
const char* type = resp->extract_String();
+ memset(&m_streams.stream[count], 0, sizeof(PVR_STREAM_PROPERTIES::PVR_STREAM));
+
CodecDescriptor codecId = CodecDescriptor::GetCodecByName(type);
if (codecId.Codec().codec_type != XBMC_CODEC_TYPE_UNKNOWN)
{
--
kodi-pvr-vdr-vnsi packaging
More information about the pkg-multimedia-commits
mailing list