diff --git a/src/zapit/src/sdt.cpp b/src/zapit/src/sdt.cpp index 6aaf33f56..34ec83770 100644 --- a/src/zapit/src/sdt.cpp +++ b/src/zapit/src/sdt.cpp @@ -433,20 +433,21 @@ int parse_current_sdt( const t_transport_stream_id p_transport_stream_id, const original_network_id = (buffer[8] << 8) | buffer[9]; for (pos = 11; pos < section_length - 1; pos += descriptors_loop_length + 5) { + tmp_free_CA_mode = -1; service_id = (buffer[pos] << 8) | buffer[pos + 1]; EIT_schedule_flag = buffer[pos + 2] & 0x02; EIT_present_following_flag = buffer[pos + 2] & 0x01; running_status = buffer [pos + 3] & 0xE0; for (unsigned short i=0; i