From c06a34faa89d2ccb6322b1cd778cff3cee47e1c9 Mon Sep 17 00:00:00 2001 From: FlatTV Date: Wed, 13 Mar 2019 16:32:37 +0100 Subject: [PATCH] ca_ci.cpp: No decoding using the same SID after switching to a FTA channel --- common/ca_ci.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp index bab57c9..471cac0 100644 --- a/common/ca_ci.cpp +++ b/common/ca_ci.cpp @@ -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) { + (*it)->SID[j] = 0; (*it)->liveUse[j] = false; 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) { + (*it)->SID[j] = 0; (*it)->recordUse[j] = false; return true; }