aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pmt.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-03-07 00:44:23 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-03-07 00:44:23 +0000
commitd2f28afab054e3cd5875499fe342ecfb8206aa06 (patch)
tree0aa0e0b5e633967875068191eb9e5e045bd54362 /lib/dvb/pmt.cpp
parent08ee4eef0af570f64937fd7a20c5d71dfb89cabc (diff)
downloadenigma2-d2f28afab054e3cd5875499fe342ecfb8206aa06.tar.gz
enigma2-d2f28afab054e3cd5875499fe342ecfb8206aa06.zip
add assertion to help debugging
Diffstat (limited to 'lib/dvb/pmt.cpp')
-rw-r--r--lib/dvb/pmt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dvb/pmt.cpp b/lib/dvb/pmt.cpp
index c0670111..f23696b0 100644
--- a/lib/dvb/pmt.cpp
+++ b/lib/dvb/pmt.cpp
@@ -350,6 +350,8 @@ int eDVBServicePMTHandler::getDecodeDemux(ePtr<iDVBDemux> &demux)
demux = m_demux;
return ret;
}
+
+ ASSERT(m_channel); /* calling without a previous ::tune is certainly bad. */
ret = m_channel->getDemux(demux, iDVBChannel::capDecode);
if (!ret)
@@ -401,7 +403,6 @@ int eDVBServicePMTHandler::tune(eServiceReferenceDVB &ref, int use_decode_demux,
m_pmt_pid = pmt_pid;
}
}
-
} else
m_reference = parser.m_ref;