Add missing __attribute__((packed)) to nit structs.
As this is a binary description of the MPEG NIT table, it should not have
any padding on it.
Signed-off-by: André Roth <neolynx@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
struct {
uint16_t section_length:12;
uint16_t reserved:4;
- };
+ } __attribute__((packed));
};
struct dvb_desc *descriptor;
struct dvb_table_nit_transport *next;
struct {
uint16_t desc_length:12;
uint16_t reserved:4;
- };
+ } __attribute__((packed));
};
struct dvb_desc *descriptor;
struct dvb_table_nit_transport *transport;