From: Jaroslav Kysela Date: Thu, 4 Jan 2018 07:55:12 +0000 (+0100) Subject: en50221: fix the supported CAIDs log, issue #4400 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=082c0cba8c155c390ce2bd8c63c0abb402afe9e0;p=thirdparty%2Ftvheadend.git en50221: fix the supported CAIDs log, issue #4400 --- diff --git a/src/input/mpegts/en50221/en50221_apps.c b/src/input/mpegts/en50221/en50221_apps.c index 1e38b04f2..240b25f68 100644 --- a/src/input/mpegts/en50221/en50221_apps.c +++ b/src/input/mpegts/en50221/en50221_apps.c @@ -165,7 +165,7 @@ en50221_app_ca_handle buf[0] = buf[1] = '\0'; for (i = 0; i < count; ) { for (j = 0, c = 0; j < 4 && i < count; i++, j++) { - caid = app->cia_caids[0]; + caid = app->cia_caids[i]; tvh_strlcatf(buf, sizeof(buf), c, " %04X (%s)", caid, caid2name(caid)); } tvhinfo(LS_EN50221, "%s: CAM supported CAIDs: %s", app->cia_name, buf + 1);