projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e979dcf
)
mppc_dec: fixed typo in decompression
author
Bernhard Miklautz
<bmiklautz@thinstuff.at>
Tue, 22 Oct 2013 14:16:38 +0000
(16:16 +0200)
committer
Bernhard Miklautz
<bmiklautz@thinstuff.at>
Tue, 22 Oct 2013 14:16:38 +0000
(16:16 +0200)
fixes #1478
libfreerdp/codec/mppc_dec.c
patch
|
blob
|
history
diff --git
a/libfreerdp/codec/mppc_dec.c
b/libfreerdp/codec/mppc_dec.c
index
b8bd8c4
..
7623876
100644
(file)
--- a/
libfreerdp/codec/mppc_dec.c
+++ b/
libfreerdp/codec/mppc_dec.c
@@
-783,7
+783,7
@@
int decompress_rdp_5(struct rdp_mppc_dec* dec, BYTE* cbuf, int len, int ctype, U
{
/* we have less bits than we need */
i32 = cur_byte >> (8 - cur_bits_left);
- d32 |= (32 << ((32 - bits_left) - cur_bits_left)) & 0xFFFFFFFF;
+ d32 |= (
i
32 << ((32 - bits_left) - cur_bits_left)) & 0xFFFFFFFF;
bits_left += cur_bits_left;
tmp -= cur_bits_left;
if (cptr < cbuf + len)