From c5dcea7de6b8ea521c856403531d7c99f1ab7eb3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 8 Jan 2010 15:23:34 +0100 Subject: Changed the EVCONTENTMASK_* macros to enums and changed "mask" to "group" --- eit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eit.c') diff --git a/eit.c b/eit.c index 72d05cb6..37a4a4be 100644 --- a/eit.c +++ b/eit.c @@ -8,7 +8,7 @@ * Robert Schneider and Rolf Hakenes . * Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg . * - * $Id: eit.c 2.10 2010/01/03 15:35:21 kls Exp $ + * $Id: eit.c 2.11 2010/01/08 15:17:09 kls Exp $ */ #include "eit.h" @@ -157,9 +157,9 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo SI::ContentDescriptor *cd = (SI::ContentDescriptor *)d; SI::ContentDescriptor::Nibble Nibble; int NumContents = 0; - uchar Contents[MAXEVCONTENTS] = { 0 }; + uchar Contents[MaxEventContents] = { 0 }; for (SI::Loop::Iterator it3; cd->nibbleLoop.getNext(Nibble, it3); ) { - if (NumContents < MAXEVCONTENTS) { + if (NumContents < MaxEventContents) { Contents[NumContents] = ((Nibble.getContentNibbleLevel1() & 0xF) << 4) | (Nibble.getContentNibbleLevel2() & 0xF); NumContents++; } -- cgit v1.2.3