mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
zapit/src/capmt.cpp: dont send capmt, if rawpmt is NULL
This commit is contained in:
@@ -138,7 +138,8 @@ bool CCam::setCaPmt(bool update)
|
|||||||
|
|
||||||
bool CCam::sendCaPmt(uint64_t tpid, uint8_t *rawpmt, int rawlen)
|
bool CCam::sendCaPmt(uint64_t tpid, uint8_t *rawpmt, int rawlen)
|
||||||
{
|
{
|
||||||
return cCA::GetInstance()->SendCAPMT(tpid, source_demux, camask, cabuf, calen, rawpmt, rawlen);
|
return cCA::GetInstance()->SendCAPMT(tpid, source_demux, camask,
|
||||||
|
rawpmt ? cabuf : NULL, rawpmt ? calen : 0, rawpmt, rawlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
int CCam::makeMask(int demux, bool add)
|
int CCam::makeMask(int demux, bool add)
|
||||||
|
Reference in New Issue
Block a user