diff --git a/spice.proto b/spice.proto index 3f7c30c..3c0911d 100644 --- a/spice.proto +++ b/spice.proto @@ -621,9 +621,7 @@ channel DisplayChannel : BaseChannel { uint32 id; uint32 multi_media_time; uint32 data_size; - uint32 pad_size; uint8 data[data_size] @end @nomarshal; - uint8 padding[pad_size] @end @ctype(uint8_t) @nomarshal; /* Uhm, why are we sending padding over network? */ } stream_data; message { diff --git a/spice1.proto b/spice1.proto index e38a214..ebb2d6f 100644 --- a/spice1.proto +++ b/spice1.proto @@ -583,9 +583,9 @@ channel DisplayChannel : BaseChannel { uint32 id; uint32 multi_media_time; uint32 data_size; - uint32 pad_size; + uint32 pad_size @zero; uint8 data[data_size] @end @nomarshal; - uint8 padding[pad_size] @end @ctype(uint8_t) @nomarshal; /* Uhm, why are we sending padding over network? */ + /* Ignore: uint8 padding[pad_size] */ } stream_data; message {