aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-23 16:40:38 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-23 16:40:38 +0000
commitcd2549143a0eb87a828e03d1ddf67565fd9942c5 (patch)
treeb18aa6dbe187d087b7262b9d1a226944eeeeea9e /lib/dvb
parentc476832e7644799cd2c2c1dbb41760b1e4dfa16e (diff)
downloadenigma2-cd2549143a0eb87a828e03d1ddf67565fd9942c5.tar.gz
enigma2-cd2549143a0eb87a828e03d1ddf67565fd9942c5.zip
fix lengthfield parsing
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/pmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp
index e77c097d..017c31da 100644
--- a/lib/dvb/pmt.cpp
+++ b/lib/dvb/pmt.cpp
@@ -507,7 +507,7 @@ void eDVBCAService::sendCAPMT()
int i=0;
int lenbytes = m_capmt[3] & ~0x80;
while(i < lenbytes)
- wp |= (m_capmt[4+i] << (8 * i++));
+ wp = (wp << 8) | m_capmt[4 + i++];
wp+=4;
wp+=lenbytes;
}