summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-13 13:30:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-13 13:30:04 +0200
commit73695455851d75ad4f86ead372849a4f2ed9291b (patch)
tree0462a84988ed2c6b727c0dfc43990268037dcd66 /eit.c
parentccb0add798961ce2fa24f625a00106cb0d3df709 (diff)
downloadvdr-73695455851d75ad4f86ead372849a4f2ed9291b.tar.gz
vdr-73695455851d75ad4f86ead372849a4f2ed9291b.tar.bz2
Fixed handling EPG data for time shifted events
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/eit.c b/eit.c
index 42229f8f..702a8e89 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 1.109 2005/08/07 13:52:29 kls Exp $
+ * $Id: eit.c 1.110 2005/08/13 13:27:34 kls Exp $
*/
#include "eit.h"
@@ -35,8 +35,6 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
if (!channel)
return; // only collect data for known channels
- cEvent *rEvent = NULL;
-
cSchedule *pSchedule = (cSchedule *)Schedules->GetSchedule(channelID);
if (!pSchedule) {
pSchedule = new cSchedule(channelID);
@@ -53,6 +51,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data)
continue;
Empty = false;
cEvent *newEvent = NULL;
+ cEvent *rEvent = NULL;
cEvent *pEvent = (cEvent *)pSchedule->GetEvent(SiEitEvent.getEventId(), SiEitEvent.getStartTime());
if (!pEvent) {
// If we don't have that event yet, we create a new one.