glz-encoder: Remove useless __packed__ attribute

These structure contain only bytes, no need for this attribute.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
Frediano Ziglio 2019-07-20 10:45:12 +01:00
parent ecd0d70a3d
commit b22ce8b042

View File

@ -168,18 +168,18 @@ void glz_encoder_destroy(GlzEncoderContext *opaque_encoder)
typedef uint8_t BYTE;
typedef struct __attribute__ ((__packed__)) one_byte_pixel_t {
typedef struct one_byte_pixel_t {
BYTE a;
} one_byte_pixel_t;
typedef struct __attribute__ ((__packed__)) rgb32_pixel_t {
typedef struct rgb32_pixel_t {
BYTE b;
BYTE g;
BYTE r;
BYTE pad;
} rgb32_pixel_t;
typedef struct __attribute__ ((__packed__)) rgb24_pixel_t {
typedef struct rgb24_pixel_t {
BYTE b;
BYTE g;
BYTE r;