From dc27cf69edabac7117a9bcf0bcfa565e88456393 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 2 Oct 2014 19:34:55 +0400 Subject: [PATCH] zapit/src/capmt.cpp: never send pmt len, if pnt is NULL Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7257da1505ee2bd56f313d506394e12c150f39a7 Author: [CST] Focus Date: 2014-10-02 (Thu, 02 Oct 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/capmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/capmt.cpp b/src/zapit/src/capmt.cpp index 9e47597ff..b0143759a 100644 --- a/src/zapit/src/capmt.cpp +++ b/src/zapit/src/capmt.cpp @@ -145,7 +145,7 @@ bool CCam::setCaPmt(bool update) bool CCam::sendCaPmt(uint64_t tpid, uint8_t *rawpmt, int rawlen) { return cCA::GetInstance()->SendCAPMT(tpid, source_demux, camask, - rawpmt ? cabuf : NULL, rawpmt ? calen : 0, rawpmt, rawlen); + rawpmt ? cabuf : NULL, rawpmt ? calen : 0, rawpmt, rawpmt ? rawlen : 0); } int CCam::makeMask(int demux, bool add)