summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-02-25 16:32:34 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-02-25 16:32:34 +0100
commitbddab7107d92bdb9013dc15c078edf138d7a35e6 (patch)
tree14c2adc17aefbbab22f6c6727183098867b0734d
parent58af7c57e5f043fdbc574a3c72596261c10d6e2c (diff)
downloadvdr-bddab7107d92bdb9013dc15c078edf138d7a35e6.tar.gz
vdr-bddab7107d92bdb9013dc15c078edf138d7a35e6.tar.bz2
Fixed a crash in case there is no 'epg.data' at program start1.0.0pre2
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY5
-rw-r--r--config.h4
-rw-r--r--eit.c4
4 files changed, 11 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index bbceff25..1acaafcb 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -124,6 +124,7 @@ Andreas Schultz <aschultz@warp10.net>
for adding support for replaying DVDs (much of this was derived from
dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>)
for adding PTS to the converted PCM audio when replaying a DVD
+ for fixing a crash in case there is no 'epg.data' at program start
Aaron Holtzman
for writing 'ac3dec'
diff --git a/HISTORY b/HISTORY
index ea81172d..2b0093e0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1042,3 +1042,8 @@ Video Disk Recorder Revision History
inadvertently overwriting an existing VDR directory with a new version.
- Added a missing error message in SVDRP command LSTC in case the given channel
can't be found.
+
+2002-02-25: Version 1.0.0pre2
+
+- Fixed a crash in case there is no 'epg.data' at program start (thanks to
+ Andreas Schultz).
diff --git a/config.h b/config.h
index 35f1590c..b5860d18 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 1.99 2002/02/24 13:39:47 kls Exp $
+ * $Id: config.h 1.100 2002/02/25 16:29:09 kls Exp $
*/
#ifndef __CONFIG_H
@@ -19,7 +19,7 @@
#include "eit.h"
#include "tools.h"
-#define VDRVERSION "1.0.0pre1"
+#define VDRVERSION "1.0.0pre2"
#define MAXPRIORITY 99
#define MAXLIFETIME 99
diff --git a/eit.c b/eit.c
index bd43fe92..8f4c0372 100644
--- a/eit.c
+++ b/eit.c
@@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.37 2002/02/23 17:11:19 kls Exp $
+ * $Id: eit.c 1.38 2002/02/25 16:30:42 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -1022,6 +1022,8 @@ bool cSIProcessor::Read(FILE *f)
return false;
}
}
+ else
+ return false;
}
bool result = cSchedules::Read(f);
if (OwnFile)