diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-11-28 21:45:05 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-11-28 21:45:05 +0100 |
commit | 375d25627de34f4a5a1a032f032b8c6a1be2a2c0 (patch) | |
tree | 4a4d73fa2554c09ff66fe44723233380edd6556d /eit.c | |
parent | 56e2ed262838e05cbeb2848571dd4c8d45425506 (diff) | |
download | vdr-375d25627de34f4a5a1a032f032b8c6a1be2a2c0.tar.gz vdr-375d25627de34f4a5a1a032f032b8c6a1be2a2c0.tar.bz2 |
Fixed generating the HashId in cEIT::cEIT()
Diffstat (limited to 'eit.c')
-rw-r--r-- | eit.c | 4 |
1 files changed, 2 insertions, 2 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 4.10 2020/06/23 09:27:09 kls Exp $ + * $Id: eit.c 4.11 2020/11/28 21:45:05 kls Exp $ */ #include "eit.h" @@ -34,7 +34,7 @@ cEIT::cEIT(cSectionSyncerHash &SectionSyncerHash, int Source, u_char Tid, const { if (!CheckCRCAndParse()) return; - int HashId = Tid * getServiceId(); + int HashId = Tid + (getServiceId() << 8); cSectionSyncerEntry *SectionSyncerEntry = SectionSyncerHash.Get(HashId); if (!SectionSyncerEntry) { SectionSyncerEntry = new cSectionSyncerEntry; |