aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/demux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/demux.cpp')
-rw-r--r--lib/dvb/demux.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp
index b0d9b400..0fbd6fbd 100644
--- a/lib/dvb/demux.cpp
+++ b/lib/dvb/demux.cpp
@@ -312,6 +312,8 @@ void eDVBPESReader::data(int)
m_read(buffer, r);
else
eWarning("PES reader not active");
+ if (r != 16384)
+ break;
}
}