git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo
[enigma2.git]
/
lib
/
dvb
/
esection.cpp
diff --git
a/lib/dvb/esection.cpp
b/lib/dvb/esection.cpp
index ae88d100abfb05c011c9bcbdf217aae153b38c87..d30aef46b2003227b7770aa10d48a79ac5a3d361 100644
(file)
--- a/
lib/dvb/esection.cpp
+++ b/
lib/dvb/esection.cpp
@@
-23,8
+23,11
@@
void eGTable::sectionRead(const __u8 *d)
{
if (m_timeout)
m_timeout->stop();
{
if (m_timeout)
m_timeout->stop();
- m_reader->stop();
- m_reader=0;
+ if (m_reader)
+ {
+ m_reader->stop();
+ m_reader=0;
+ }
m_sectionRead_conn=0;
ready = 1;
tableReady(error);
m_sectionRead_conn=0;
ready = 1;
tableReady(error);
@@
-34,9
+37,12
@@
void eGTable::sectionRead(const __u8 *d)
void eGTable::timeout()
{
void eGTable::timeout()
{
- eDebug("timeout!");
- m_reader->stop();
- m_reader=0;
+ eDebug("timeout %04x!", m_table.pid);
+ if (m_reader)
+ {
+ m_reader->stop();
+ m_reader=0;
+ }
m_sectionRead_conn=0;
ready = 1;
error = -1;
m_sectionRead_conn=0;
ready = 1;
error = -1;