aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/scan.cpp')
-rw-r--r--lib/dvb/scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp
index f9d7547e..c4d4c6f4 100644
--- a/lib/dvb/scan.cpp
+++ b/lib/dvb/scan.cpp
@@ -157,7 +157,7 @@ RESULT eDVBScan::startFilter()
if (startSDT && (m_ready_all & readySDT))
{
m_SDT = new eTable<ServiceDescriptionSection>();
- if (m_ready & readyPAT)
+ if (m_ready & readyPAT && m_ready & validPAT)
{
std::vector<ProgramAssociationSection*>::const_iterator i =
m_PAT->getSections().begin();