// HACK this assigns ALL RUNNING SERVICES to the first free CI !!!
for (eSmartPtrList<eDVBCISlot>::iterator ci_it(m_slots.begin()); ci_it != m_slots.end(); ++ci_it)
{
- eDVBCISlot **usedby = &it->usedby;
+/* eDVBCISlot **usedby = &it->usedby;
*usedby = ci_it;
(*usedby)->resetPrevSentCAPMTVersion();
break;
-
+ */
}
}
if (it->usedby)
int i=0;
int lenbytes = raw_data[3] & ~0x80;
while(i < lenbytes)
- wp |= (raw_data[4+i] << (8 * i++));
+ wp = (wp << 8) | raw_data[4 + i++];
wp+=4;
wp+=lenbytes;
hlen = 4 + lenbytes;