summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index ccd0e20a..247e8c56 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 4.10 2017/03/26 11:35:38 kls Exp $
+ * $Id: device.c 4.11 2017/03/27 14:02:54 kls Exp $
*/
#include "device.h"
@@ -1692,7 +1692,7 @@ void cDevice::Action(void)
}
else
receiver[i]->Receive(b, TS_SIZE);
- if (DescramblingOk) {
+ if (DescramblingOk && receiver[i]->ChannelID().Valid()) {
dsyslog("CAM %d: decrypts channel %s", CamSlotNumber, *receiver[i]->ChannelID().ToString());
ChannelCamRelations.SetDecrypt(receiver[i]->ChannelID(), CamSlotNumber);
startScrambleDetection = 0;