git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ee4ee
)
add assertion to help debugging
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 7 Mar 2006 00:44:23 +0000
(
00:44
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 7 Mar 2006 00:44:23 +0000
(
00:44
+0000)
lib/dvb/pmt.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/pmt.cpp
b/lib/dvb/pmt.cpp
index c06701113178b080b9f061840d1dbd06765133ea..f23696b05ba0858fd51c7e41c36a061dd85f2348 100644
(file)
--- 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;