summaryrefslogtreecommitdiff
path: root/sections.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:09:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:09:01 +0200
commit4986f76b0a40e11997e572a75260034063023cb0 (patch)
tree7a73146d9b3529f9a00038f76b9a82f327490b1f /sections.c
parent021778d370257e1db4893ca0228bb6fa32aa32e1 (diff)
downloadvdr-4986f76b0a40e11997e572a75260034063023cb0.tar.gz
vdr-4986f76b0a40e11997e572a75260034063023cb0.tar.bz2
Added cDevice::ReadFilter()
Diffstat (limited to 'sections.c')
-rw-r--r--sections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sections.c b/sections.c
index afb4f0bd..c9ed0c14 100644
--- a/sections.c
+++ b/sections.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sections.c 1.15 2007/10/14 12:52:07 kls Exp $
+ * $Id: sections.c 2.1 2012/08/26 12:53:39 kls Exp $
*/
#include "sections.h"
@@ -198,7 +198,7 @@ void cSectionHandler::Action(void)
if (fh) {
// Read section data:
unsigned char buf[4096]; // max. allowed size for any EIT section
- int r = safe_read(fh->handle, buf, sizeof(buf));
+ int r = device->ReadFilter(fh->handle, buf, sizeof(buf));
if (!DeviceHasLock)
continue; // we do the read anyway, to flush any data that might have come from a different transponder
if (r > 3) { // minimum number of bytes necessary to get section length