summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-01-08 15:23:34 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-01-08 15:23:34 +0100
commitc5dcea7de6b8ea521c856403531d7c99f1ab7eb3 (patch)
tree466a2777bf03ad9a183f9b851cfac0c1c3836289 /eit.c
parent2cc10815edbfa202a34fb16c7c2d81d1814b0ee1 (diff)
downloadvdr-c5dcea7de6b8ea521c856403531d7c99f1ab7eb3.tar.gz
vdr-c5dcea7de6b8ea521c856403531d7c99f1ab7eb3.tar.bz2
Changed the EVCONTENTMASK_* macros to enums and changed "mask" to "group"
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eit.c b/eit.c
index 72d05cb6..37a4a4be 100644
--- a/eit.c
+++ b/eit.c
@@ -8,7 +8,7 @@
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
*
- * $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++;
}