From: leslie Date: Sat, 6 Mar 2010 13:39:22 +0000 (+0800) Subject: irdeto: optimise chid check X-Git-Tag: upstream/620~88 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=2de4f1a693b6769ede39f81d1cd0a941aa456053;p=sasc-ng.git irdeto: optimise chid check --- diff --git a/system.c b/system.c index 847b1d2..f8c3a1b 100644 --- a/system.c +++ b/system.c @@ -189,9 +189,9 @@ int cSystem::CheckECM(const cEcmInfo *ecm, const unsigned char *data, bool sync) { const int chid=WORD(data,6,0xFFFF); // if multiple channel id's, use current one only - if(sync && ecm->caId==0x0604 && check->caid.sys06.current>0 && chid!=check->caid.sys06.current) { + if(sync && check->caid.sys06.current>0 && chid!=check->caid.sys06.current) { PRINTF(L_CORE_ECMPROC,"ecmcheck(%s): chid %04x != current %04x",name,chid,check->caid.sys06.current); - return 2; + return 3; } /* //XXX is that still needed? Seems to conflict with some Irdeto2 provider