git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1ddd7d7
)
fix bug
author
Ronny Strutz
<ronny.strutz@multimedia-labs.de>
Wed, 23 Nov 2005 02:41:15 +0000
(
02:41
+0000)
committer
Ronny Strutz
<ronny.strutz@multimedia-labs.de>
Wed, 23 Nov 2005 02:41:15 +0000
(
02:41
+0000)
lib/dvb_ci/dvbci.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb_ci/dvbci.cpp
b/lib/dvb_ci/dvbci.cpp
index 3ddd9bb6141a5aeb6c9b3fcb9758e120f3ee7530..59425bbccd063217b18e062ebb486ec028aee1bf 100644
(file)
--- a/
lib/dvb_ci/dvbci.cpp
+++ b/
lib/dvb_ci/dvbci.cpp
@@
-431,7
+431,7
@@
int eDVBCISlot::sendCAPMT(eDVBServicePMTHandler *pmthandler, const std::vector<u
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;