mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
scansdt.cpp: Change iterators it++ to ++it; move scan_fta_flag from descriptors.cpp
Origin commit data
------------------
Commit: b4ded74d83
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-20 (Fri, 20 Jan 2012)
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
#include <zapit/dvbstring.h>
|
#include <zapit/dvbstring.h>
|
||||||
|
|
||||||
extern CZapitClient::scanType scanType; // FIXME
|
extern CZapitClient::scanType scanType; // FIXME
|
||||||
extern int scan_fta_flag; // FIXME
|
int scan_fta_flag; // FIXME
|
||||||
|
|
||||||
#define DEBUG_SDT
|
#define DEBUG_SDT
|
||||||
|
|
||||||
@@ -57,7 +57,7 @@ CSdt::CSdt(t_satellite_position spos, freq_id_t frq, bool curr, int dnum)
|
|||||||
CSdt::~CSdt()
|
CSdt::~CSdt()
|
||||||
{
|
{
|
||||||
ServiceDescriptionSectionIterator sit;
|
ServiceDescriptionSectionIterator sit;
|
||||||
for (sit = sections.begin(); sit != sections.end(); sit++) {
|
for (sit = sections.begin(); sit != sections.end(); ++sit) {
|
||||||
delete *(sit);
|
delete *(sit);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -156,7 +156,7 @@ bool CSdt::Parse(t_transport_stream_id &tsid, t_original_network_id &onid)
|
|||||||
if(!Read())
|
if(!Read())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (it = sections.begin(); it != sections.end(); it++) {
|
for (it = sections.begin(); it != sections.end(); ++it) {
|
||||||
ServiceDescriptionSection * sdt = *it;
|
ServiceDescriptionSection * sdt = *it;
|
||||||
|
|
||||||
transport_stream_id = sdt->getTransportStreamId();
|
transport_stream_id = sdt->getTransportStreamId();
|
||||||
|
Reference in New Issue
Block a user