From a98cf070c19618ad505fe68f58043a80661b7d57 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 15 Nov 2013 10:44:27 -0200 Subject: [PATCH] descriptors/nit: byte struct should be packed Signed-off-by: Mauro Carvalho Chehab --- lib/include/descriptors/nit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/descriptors/nit.h b/lib/include/descriptors/nit.h index 1ee1f39..204fbf1 100644 --- a/lib/include/descriptors/nit.h +++ b/lib/include/descriptors/nit.h @@ -37,7 +37,7 @@ union dvb_table_nit_transport_header { struct { uint16_t transport_length:12; uint16_t reserved:4; - }; + } __attribute__((packed)); }; struct dvb_table_nit_transport { -- 2.7.4