Require data size to be sent for PNG format

This commit is contained in:
Kovid Goyal
2017-09-28 13:50:28 +05:30
parent d0d769f26b
commit 8e5c4b6f7a
4 changed files with 15 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
typedef struct {
unsigned char action, transmission_type, compressed;
uint32_t format, more, id;
uint32_t format, more, id, data_sz;
uint32_t width, height, x_offset, y_offset, data_height, data_width, num_cells, num_lines;
int32_t z_index;
size_t payload_sz;