From: Andreas Monzner Date: Tue, 24 Oct 2006 09:00:01 +0000 (+0000) Subject: only read twice when the previous read returned max bytes X-Git-Tag: 2.6.0~2854 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/fa4ce6edf7d5ab9852a2ee3c5bea0b32fd704465?hp=ad5b517b4648c91ec34936ac5eba7cde4c34bb31;ds=sidebyside only read twice when the previous read returned max bytes --- 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; } }