mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
VNC: Fix error in message header size calculation; Add logic to try copy with pixel format changes.
This commit is contained in:
@@ -547,8 +547,8 @@ struct rfb_rectangle_s
|
||||
uint8_t data[1]; /* Pixel data, actual size varies */
|
||||
};
|
||||
|
||||
#define SIZEOF_RFB_RECTANGES(d) \
|
||||
(sizeof(struct rfb_framebufferupdate_s) + (d) - 1)
|
||||
#define SIZEOF_RFB_RECTANGE_S(d) \
|
||||
(sizeof(struct rfb_rectangle_s) + (d) - 1)
|
||||
|
||||
struct rfb_framebufferupdate_s
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user