]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
capmt: fix nagra ca info in pmt, fixes #4402
authorJaroslav Kysela <perex@perex.cz>
Mon, 29 May 2017 16:14:10 +0000 (18:14 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 29 May 2017 16:14:39 +0000 (18:14 +0200)
src/descrambler/capmt.c

index e4c65cd3d4a7a25de8c586229140c956cbfa3914..607092df5be2a1ee951d6c7c9dad8c1b880efee2 100644 (file)
@@ -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) {