libdvbv5: fix the area code size on ISDB-T
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 11 Apr 2014 18:49:05 +0000 (15:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 11 Apr 2014 18:49:05 +0000 (15:49 -0300)
The area code has 12 bits, and not 6, accordig with the
ABNT NBR 15603-2:2007 version3 of 2009.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/include/libdvbv5/desc_isdbt_delivery.h

index 3a49884..5d1e2b5 100644 (file)
@@ -35,7 +35,7 @@ struct isdbt_desc_terrestrial_delivery_system {
                struct {
                        uint16_t transmission_mode:2;
                        uint16_t guard_interval:2;
-                       uint16_t area_code:6;
+                       uint16_t area_code:12;
                } __attribute__((packed));
        } __attribute__((packed));
 } __attribute__((packed));