1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed a crash in case there is no 'epg.data' at program start

This commit is contained in:
Klaus Schmidinger 2002-02-25 16:32:34 +01:00
parent 58af7c57e5
commit bddab7107d
4 changed files with 11 additions and 3 deletions

View File

@ -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'

View File

@ -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).

View File

@ -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

4
eit.c
View File

@ -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)