[SCM] kodi-pvr-vdr-vnsi/master: drop useless check for max len of readPacket, fixes transfer of large number of recordings

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Sun Feb 28 15:46:51 UTC 2016


The following commit has been merged in the master branch:
commit 718bbf25e4f7d5dc1cb5f3e8c855d63c62246811
Author: Rainer Hochecker <fernetmenta at online.de>
Date:   Mon Nov 23 10:28:03 2015 +0100

    drop useless check for max len of readPacket, fixes transfer of large number of recordings

diff --git a/src/VNSISession.cpp b/src/VNSISession.cpp
index dd75423..0fa4c54 100644
--- a/src/VNSISession.cpp
+++ b/src/VNSISession.cpp
@@ -226,7 +226,6 @@ std::unique_ptr<cResponsePacket> cVNSISession::ReadMessage(int iInitialTimeout /
     vresp->extractOSDHeader();
     userDataLength = vresp->getUserDataLength();
 
-    if (userDataLength > 5000000) return NULL; // how big can these packets get?
     userData = NULL;
     if (userDataLength > 0)
     {
@@ -257,7 +256,6 @@ std::unique_ptr<cResponsePacket> cVNSISession::ReadMessage(int iInitialTimeout /
     vresp->extractHeader();
     userDataLength = vresp->getUserDataLength();
 
-    if (userDataLength > 5000000) return NULL; // how big can these packets get?
     userData = NULL;
     if (userDataLength > 0)
     {

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list