aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/scan.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-04-06 14:08:55 +0200
committerFelix Domke <tmbinc@elitedvb.net>2009-04-06 14:08:55 +0200
commit84007236ce796615a8e74432aad110164b23b8ec (patch)
tree5053dc936f63882afe3fec56342e9d5d1dc8fe76 /lib/dvb/scan.cpp
parent3e45b153a93894c4c382d3ba5ded974c738e9589 (diff)
downloadenigma2-84007236ce796615a8e74432aad110164b23b8ec.tar.gz
enigma2-84007236ce796615a8e74432aad110164b23b8ec.zip
replace assert by ASSERT, so a proper log message is generated
Diffstat (limited to 'lib/dvb/scan.cpp')
-rw-r--r--lib/dvb/scan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp
index 379ab8e9..04c78c61 100644
--- a/lib/dvb/scan.cpp
+++ b/lib/dvb/scan.cpp
@@ -137,7 +137,7 @@ RESULT eDVBScan::nextChannel()
RESULT eDVBScan::startFilter()
{
bool startSDT=true;
- assert(m_demux);
+ ASSERT(m_demux);
/* only start required filters filter */
@@ -163,7 +163,7 @@ RESULT eDVBScan::startFilter()
{
std::vector<ProgramAssociationSection*>::const_iterator i =
m_PAT->getSections().begin();
- assert(i != m_PAT->getSections().end());
+ ASSERT(i != m_PAT->getSections().end());
tsid = (*i)->getTableIdExtension(); // in PAT this is the transport stream id
m_pat_tsid = eTransportStreamID(tsid);
for (; i != m_PAT->getSections().end(); ++i)