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)