ca_ci.cpp: No decoding using the same SID after switching to a FTA channel

Origin commit data
------------------
Branch: master
Commit: 05ac4769a0
Author: FlatTV <FlatTV@gmx.de>
Date: 2019-03-13 (Wed, 13 Mar 2019)


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

------------------
This commit was generated by Migit
This commit is contained in:
FlatTV
2019-03-13 16:32:37 +01:00
committed by max_10
parent 45aa6b0d6f
commit aee4bcb766

View File

@@ -632,6 +632,7 @@ bool cCA::StopLiveCI( u64 TP, u16 SID, u8 source, u32 calen)
{ {
if ((*it)->liveUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen) if ((*it)->liveUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen)
{ {
(*it)->SID[j] = 0;
(*it)->liveUse[j] = false; (*it)->liveUse[j] = false;
return true; return true;
} }
@@ -650,6 +651,7 @@ bool cCA::StopRecordCI( u64 TP, u16 SID, u8 source, u32 calen)
{ {
if ((*it)->recordUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen) if ((*it)->recordUse[j] && (*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source && !calen)
{ {
(*it)->SID[j] = 0;
(*it)->recordUse[j] = false; (*it)->recordUse[j] = false;
return true; return true;
} }