From: Jaroslav Kysela Date: Thu, 4 Jan 2018 14:03:12 +0000 (+0100) Subject: Revert "cwc: fix typo, issue #4813" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398bdb6c155db24b5beab029da9d67c5f6b21151;p=thirdparty%2Ftvheadend.git Revert "cwc: fix typo, issue #4813" This reverts commit f152eb0cf41a82a07a8c4bf1507d730616f71f98. --- diff --git a/src/descrambler/cwc.c b/src/descrambler/cwc.c index aaad6ea9e..0ab76943a 100644 --- a/src/descrambler/cwc.c +++ b/src/descrambler/cwc.c @@ -1415,7 +1415,7 @@ found: caid = c->caid; provid = c->providerid; - ecm = data[0] == 0x80 || data[0] == 0x81; + ecm = data[0] == 0x80 || data[1] == 0x81; if (pcard->cs_ra.caid == 0x4a30) ecm |= data[0] == 0x50; /* DVN */ if (ecm) {