From: Jaroslav Kysela Date: Mon, 29 May 2017 16:14:10 +0000 (+0200) Subject: capmt: fix nagra ca info in pmt, fixes #4402 X-Git-Tag: v4.2.3~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215beb36af995c9b1f75b0c65b9d1e267aeadf2d;p=thirdparty%2Ftvheadend.git capmt: fix nagra ca info in pmt, fixes #4402 --- diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index e4c65cd3d..607092df5 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -2066,8 +2066,9 @@ capmt_send_request(capmt_service_t *ct, int lm) buf[pos+1] = 7; buf[pos2++] = cce2->cce_providerid >> 8; buf[pos2++] = cce2->cce_providerid & 0xff; + buf[pos2++] = 0; } else if (cce2->cce_caid >> 8 == 0x4a && cce2->cce_caid != 0x4ad2) { - buf[pos+1] = 0x05; + buf[pos+1] = 5; buf[pos2++] = cce2->cce_providerid & 0xff; } else if (((cce2->cce_caid >> 8) == 0x4a) || (cce2->cce_caid == 0x2710)) { if (cce2->cce_caid == 0x4AE0 || cce2->cce_caid == 0x4AE1 || cce2->cce_caid == 0x2710) {