diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-01-08 15:23:34 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-01-08 15:23:34 +0100 |
commit | c5dcea7de6b8ea521c856403531d7c99f1ab7eb3 (patch) | |
tree | 466a2777bf03ad9a183f9b851cfac0c1c3836289 /eit.c | |
parent | 2cc10815edbfa202a34fb16c7c2d81d1814b0ee1 (diff) | |
download | vdr-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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++; } |