zapit/src/scansdt.cpp: fix counter

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5abb2285f5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-02-27 (Mon, 27 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-02-27 12:19:04 +04:00
parent ff56ad4c5e
commit a0a23626ba

View File

@@ -341,7 +341,7 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto
CZapitChannel * CSdt::CheckChannelId(t_service_id service_id)
{
int flist[5] = { freq_id, freq_id-1, freq_id+1, freq_id-2, freq_id+2 };
for(int i = 0; i < 6; i++) {
for(int i = 0; i < 5; i++) {
freq_id_t freq = flist[i];
t_channel_id channel_id = CREATE_CHANNEL_ID64;
CZapitChannel * channel = CServiceManager::getInstance()->FindChannel(channel_id);