From da7c2fc5363b0c59c3d9d3060a6542810c3690db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sat, 16 Jan 2010 23:29:52 +0000 Subject: [PATCH] Only deal with ECM multi sections on irdeto --- src/cwc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cwc.c b/src/cwc.c index 74da23c1..4b532cff 100644 --- a/src/cwc.c +++ b/src/cwc.c @@ -1076,15 +1076,16 @@ cwc_table_input(struct th_descrambler *td, struct th_transport *t, case 0x81: /* ECM */ - ct->ct_last_section = data[5]; - section = data[4]; - if(cwc->cwc_caid >> 8 == 6) { channel = data[6] << 8 | data[7]; snprintf(chaninfo, sizeof(chaninfo), " (channel %d)", channel); + ct->ct_last_section = data[5]; + section = data[4]; } else { channel = -1; chaninfo[0] = 0; + ct->ct_last_section = 0; + section = 0; } if(ct->ct_sections[section] == NULL)