From 298ad47b00a821366ef575c8e86ab3d13f49ed2e 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 Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/ae36c1aeeaa1866317e313462ad1ef612cb96870 Author: FlatTV Date: 2019-03-13 (Wed, 13 Mar 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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; }