commit | 1349e42e395a0a88b67447580d526daf31dba591 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Wed Oct 05 11:00:37 2016 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Oct 05 11:00:37 2016 +0200 |
tree | 49aa8ce3e939e1edc100abe1114c1fe5f730ca0e | |
parent | 31cad948089ba3f7b848b4f1376db33c4879cc20 [diff] [blame] |
Fix temporary decoder buffer sizes Some of these were excessively large because of redundant factors in the size calculation.
diff --git a/common/rfb/hextileDecode.h b/common/rfb/hextileDecode.h index 7affa15..47006a0 100644 --- a/common/rfb/hextileDecode.h +++ b/common/rfb/hextileDecode.h
@@ -44,7 +44,7 @@ Rect t; PIXEL_T bg = 0; PIXEL_T fg = 0; - PIXEL_T buf[16 * 16 * 4]; + PIXEL_T buf[16 * 16]; for (t.tl.y = r.tl.y; t.tl.y < r.br.y; t.tl.y += 16) {