scansdt: typo

Origin commit data
------------------
Commit: 66651fe62b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-10-13 (Sat, 13 Oct 2018)
This commit is contained in:
Jacek Jendrzej
2018-10-13 00:11:06 +02:00
committed by vanhofen
parent 175751d2b0
commit b45418fa92

View File

@@ -245,7 +245,7 @@ bool CSdt::Parse(t_transport_stream_id &tsid, t_original_network_id &onid)
if(!sdt_read)
return false;
bool feiled = false;
bool failed = false;
bool updated = false;
for (it = sections.begin(); it != sections.end(); ++it) {
ServiceDescriptionSection * sdt = *it;
@@ -316,7 +316,7 @@ bool CSdt::Parse(t_transport_stream_id &tsid, t_original_network_id &onid)
}
}
if(current && current_tp_id != CFEManager::getInstance()->getLiveFE()->getTsidOnid()){
feiled = true;
failed = true;
break;
}
}
@@ -324,7 +324,7 @@ bool CSdt::Parse(t_transport_stream_id &tsid, t_original_network_id &onid)
if(pat_tsid == transport_stream_id){
for (std::map<int,int>::iterator patit=sidpmt.begin(); patit!=sidpmt.end(); ++patit){
if(current && current_tp_id != CFEManager::getInstance()->getLiveFE()->getTsidOnid()){
feiled = true;
failed = true;
break;
}
if(patit->first != 0 && patit->second != 0){
@@ -338,7 +338,7 @@ bool CSdt::Parse(t_transport_stream_id &tsid, t_original_network_id &onid)
tsid = transport_stream_id;
onid = original_network_id;
if(feiled)
if(failed)
return false;
if(current && current_tp_id != CFEManager::getInstance()->getLiveFE()->getTsidOnid())