zapit/src/capmt.cpp: never send pmt len, if pnt is NULL

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7257da1505
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-02 (Thu, 02 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-10-02 19:34:55 +04:00
parent a7cc95ab45
commit dc27cf69ed

View File

@@ -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)