mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 06:32:44 +00:00
glz-encoder-dict: Remove useless __packed__ attribute
The structure has no holes, adding this attribute could only decrease efficiency. Note that HashEntry structure is used for a large (8MB) array so this won't affect much possible container size. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
parent
db7dcae353
commit
ecd0d70a3d
@ -76,7 +76,7 @@ struct WindowImageSegment {
|
||||
};
|
||||
|
||||
|
||||
struct __attribute__ ((__packed__)) HashEntry {
|
||||
struct HashEntry {
|
||||
uint32_t image_seg_idx;
|
||||
uint32_t ref_pix_idx;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user