mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
eitd: remove NIT/BAT sections headers
Origin commit data
------------------
Commit: 7bf6562d60
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-03 (Fri, 03 Feb 2012)
This commit is contained in:
@@ -59,80 +59,6 @@ struct SI_section_SDT_header {
|
|||||||
unsigned reserved_future_use2 : 8;
|
unsigned reserved_future_use2 : 8;
|
||||||
} __attribute__ ((packed)) ; // 11 bytes
|
} __attribute__ ((packed)) ; // 11 bytes
|
||||||
|
|
||||||
struct SI_section_NIT_header {
|
|
||||||
unsigned table_id : 8;
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
unsigned section_syntax_indicator : 1;
|
|
||||||
unsigned reserved_future_use : 1;
|
|
||||||
unsigned reserved1 : 2;
|
|
||||||
unsigned section_length_hi : 4;
|
|
||||||
#else
|
|
||||||
unsigned section_length_hi : 4;
|
|
||||||
unsigned reserved1 : 2;
|
|
||||||
unsigned reserved_future_use : 1;
|
|
||||||
unsigned section_syntax_indicator : 1;
|
|
||||||
#endif
|
|
||||||
unsigned section_length_lo : 8;
|
|
||||||
unsigned network_id_hi : 8;
|
|
||||||
unsigned network_id_lo : 8;
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
unsigned reserved2 : 2;
|
|
||||||
unsigned version_number : 5;
|
|
||||||
unsigned current_next_indicator : 1;
|
|
||||||
#else
|
|
||||||
unsigned current_next_indicator : 1;
|
|
||||||
unsigned version_number : 5;
|
|
||||||
unsigned reserved2 : 2;
|
|
||||||
#endif
|
|
||||||
unsigned section_number : 8;
|
|
||||||
unsigned last_section_number : 8;
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
unsigned reserved_future_use2 : 4;
|
|
||||||
unsigned network_descriptors_length_hi : 4;
|
|
||||||
#else
|
|
||||||
unsigned network_descriptors_length_hi : 4;
|
|
||||||
unsigned reserved_future_use2 : 4;
|
|
||||||
#endif
|
|
||||||
unsigned network_descriptors_length_lo : 8;
|
|
||||||
} __attribute__ ((packed)) ; // 10 bytes
|
|
||||||
|
|
||||||
struct SI_section_BAT_header {
|
|
||||||
unsigned table_id : 8;
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
unsigned section_syntax_indicator : 1;
|
|
||||||
unsigned reserved_future_use : 1;
|
|
||||||
unsigned reserved1 : 2;
|
|
||||||
unsigned section_length_hi : 4;
|
|
||||||
#else
|
|
||||||
unsigned section_length_hi : 4;
|
|
||||||
unsigned reserved1 : 2;
|
|
||||||
unsigned reserved_future_use : 1;
|
|
||||||
unsigned section_syntax_indicator : 1;
|
|
||||||
#endif
|
|
||||||
unsigned section_length_lo : 8;
|
|
||||||
unsigned bouquet_id_hi : 8;
|
|
||||||
unsigned bouquet_id_lo : 8;
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
unsigned reserved2 : 2;
|
|
||||||
unsigned version_number : 5;
|
|
||||||
unsigned current_next_indicator : 1;
|
|
||||||
#else
|
|
||||||
unsigned current_next_indicator : 1;
|
|
||||||
unsigned version_number : 5;
|
|
||||||
unsigned reserved2 : 2;
|
|
||||||
#endif
|
|
||||||
unsigned section_number : 8;
|
|
||||||
unsigned last_section_number : 8;
|
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
unsigned reserved_future_use2 : 4;
|
|
||||||
unsigned bouquet_descriptors_length_hi : 4;
|
|
||||||
#else
|
|
||||||
unsigned bouquet_descriptors_length_hi : 4;
|
|
||||||
unsigned reserved_future_use2 : 4;
|
|
||||||
#endif
|
|
||||||
unsigned bouquet_descriptors_length_lo : 8;
|
|
||||||
} __attribute__ ((packed)) ; // 10 bytes
|
|
||||||
|
|
||||||
struct SI_section_EIT_header {
|
struct SI_section_EIT_header {
|
||||||
unsigned table_id : 8;
|
unsigned table_id : 8;
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||||
|
Reference in New Issue
Block a user