aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/pmt.cpp')
-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;
}