From: Jaroslav Kysela Date: Tue, 13 Jun 2017 05:50:22 +0000 (+0200) Subject: capmt: fix the offset for ECM_INFO X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=89077d6ee259efcde0bac79532c45c2c538d8bfc;p=thirdparty%2Ftvheadend.git capmt: fix the offset for ECM_INFO --- diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 255b1c440..a5b2e9148 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -1409,7 +1409,7 @@ capmt_analyze_cmd(capmt_t *capmt, uint32_t cmd, int adapter, sbuf_t *sb, int off uint16_t pid = sbuf_peek_u16(sb, offset + 4); uint32_t provid = sbuf_peek_u32(sb, offset + 6); uint32_t ecmtime = sbuf_peek_u32(sb, offset + 10); - int offset2 = offset + 18; + int offset2 = offset + 14; char *cardsystem = capmt_peek_str(sb, &offset2); char *reader = capmt_peek_str(sb, &offset2); char *from = capmt_peek_str(sb, &offset2);