From cad9843166464951f6bebe37aaaa6a0d2c889e6e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Jul 2007 13:23:37 +0200 Subject: [PATCH] Fixed a bug I introduced when simplifying the original patch for detecting Premiere NVOD channel links --- CONTRIBUTORS | 1 + HISTORY | 2 ++ eit.c | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 66bf2975..0c3d7c9e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1920,6 +1920,7 @@ Franz Gangkofer Malte Schröder for reporting a crash after executing the SVDRP command CLRE + for reporting a crash with the code for detecting Premiere NVOD channel links Markus Hahn for suggesting to only start recordings if there is at least 300MB free disk space diff --git a/HISTORY b/HISTORY index c2ee0762..997948d4 100644 --- a/HISTORY +++ b/HISTORY @@ -5308,3 +5308,5 @@ Video Disk Recorder Revision History - Updated the Estonian OSD texts (thanks to Arthur Konovalov). - Fixed a problem with characters >0x7F in the modified version of skipspace() (thanks to Marco Schlüßler). +- Fixed a bug I introduced when simplifying the original patch for detecting + Premiere NVOD channel links (crash reported by Malte Schröder). diff --git a/eit.c b/eit.c index cc2d0863..dcac1164 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 1.124 2007/07/21 14:58:04 kls Exp $ + * $Id: eit.c 1.125 2007/07/28 13:16:43 kls Exp $ */ #include "eit.h" @@ -199,7 +199,7 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data, bo else if (Setup.UpdateChannels >= 4) { cChannel *transponder = channel; if (channel->Tid() != ld->getTransportStreamId()) - channel = Channels.GetByTransponderID(linkID); + transponder = Channels.GetByTransponderID(linkID); link = Channels.NewChannel(transponder, linkName, "", "", ld->getOriginalNetworkId(), ld->getTransportStreamId(), ld->getServiceId()); //XXX patFilter->Trigger(); }