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:
785c42f
)
Fix #4101: Rfx decode tile width.
author
Armin Novak
<armin.novak@thincast.com>
Mon, 20 Nov 2017 12:42:40 +0000
(13:42 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 21 Nov 2017 10:08:16 +0000
(11:08 +0100)
libfreerdp/codec/rfx.c
patch
|
blob
|
history
diff --git
a/libfreerdp/codec/rfx.c
b/libfreerdp/codec/rfx.c
index
ce03a74
..
39b9782
100644
(file)
--- a/
libfreerdp/codec/rfx.c
+++ b/
libfreerdp/codec/rfx.c
@@
-1150,7
+1150,7
@@
BOOL rfx_process_message(RFX_CONTEXT* context, const BYTE* data, UINT32 length,
REGION16 clippingRects;
const RECTANGLE_16* updateRects;
const DWORD formatSize = GetBytesPerPixel(context->pixel_format);
- const UINT32 dstWidth = dstStride /
formatSize
;
+ const UINT32 dstWidth = dstStride /
GetBytesPerPixel(dstFormat)
;
region16_init(&clippingRects);
for (i = 0; i < message->numRects; i++)