From 215beb36af995c9b1f75b0c65b9d1e267aeadf2d Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 29 May 2017 18:14:10 +0200 Subject: [PATCH] capmt: fix nagra ca info in pmt, fixes #4402 --- src/descrambler/capmt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.47.2