summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-07-28 13:23:37 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-07-28 13:23:37 +0200
commitcad9843166464951f6bebe37aaaa6a0d2c889e6e (patch)
tree0cfc503fd458296af50b9dae5e193e36b545e688
parent031000493db48d6a312b469b3283f1e3f18f6bbf (diff)
downloadvdr-cad9843166464951f6bebe37aaaa6a0d2c889e6e.tar.gz
vdr-cad9843166464951f6bebe37aaaa6a0d2c889e6e.tar.bz2
Fixed a bug I introduced when simplifying the original patch for detecting Premiere NVOD channel links
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--eit.c4
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 <Franz.Gangkofer@cadsoft.de>
Malte Schröder <MalteSch@gmx.de>
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 <mhahn@reel-multimedia.com>
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 <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.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();
}