Commit 5a67b3bc authored by Christophe Massiot's avatar Christophe Massiot

* src/tables/eit.c: Fixed EIT b_free_ca.

parent 9f996635
...@@ -479,7 +479,7 @@ void dvbpsi_DecodeEITSections(dvbpsi_eit_t* p_eit, ...@@ -479,7 +479,7 @@ void dvbpsi_DecodeEITSections(dvbpsi_eit_t* p_eit,
uint32_t i_duration = ((uint32_t)(p_byte[7]) << 16) uint32_t i_duration = ((uint32_t)(p_byte[7]) << 16)
| ((uint32_t)(p_byte[8]) << 8) | p_byte[9]; | ((uint32_t)(p_byte[8]) << 8) | p_byte[9];
uint8_t i_running_status = (uint8_t)(p_byte[10]) >> 5; uint8_t i_running_status = (uint8_t)(p_byte[10]) >> 5;
int b_free_ca = (int)(p_byte[10]) & 0x10 >> 4; int b_free_ca = (int)(p_byte[10] & 0x10) >> 4;
uint16_t i_length = ((uint16_t)(p_byte[10] & 0xf) << 8) | p_byte[11]; uint16_t i_length = ((uint16_t)(p_byte[10] & 0xf) << 8) | p_byte[11];
dvbpsi_eit_event_t* p_event = dvbpsi_EITAddEvent(p_eit, dvbpsi_eit_event_t* p_event = dvbpsi_EITAddEvent(p_eit,
i_event_id, i_start_time, i_duration, i_event_id, i_start_time, i_duration,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment