]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
EMM patch
authorNick <nickgroen89@gmail.com>
Wed, 24 Feb 2021 10:48:43 +0000 (11:48 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 24 Feb 2021 10:56:39 +0000 (11:56 +0100)
EMM patch, TVheadend stopped sending shared EMM's to OScam.

I believe this commit broke in it. 6ea7c38

After changing back OScam started to receive shared EMM's again.

Tested on dvb-c provider nl-Delta.

src/descrambler/emm_reass.c

index 5cf3be1f7f651c15df9dd226b10530b127124f4d..34a716b981682e4564b33626cb81d1ab341a66d9 100644 (file)
@@ -149,9 +149,8 @@ emm_seca
       match = memcmp(&data[3], &ra->ua[2], 6) == 0;
   } else if (data[0] == 0x84) {  // shared emm
     if (len >= 8) {
-      /* XXX this part is untested but should do no harm */
       PROVIDERS_FOREACH(ra, i, ep)
-        if (memcmp(&data[5], &ep->sa[4], 3) == 0) {
+        if (memcmp(&data[5], &ep->sa[5], 3) == 0) {
           match = 1;
           break;
         }