From 15a2d36aca778a4de59c419d8048439e2823e4ea Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Oct 2002 16:12:55 +0200 Subject: Fixed some faulty default parameter initializations --- CONTRIBUTORS | 1 + HISTORY | 4 ++++ config.h | 4 ++-- dvbplayer.c | 4 ++-- transfer.c | 4 ++-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 33d89d7b..6277ea5f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -428,6 +428,7 @@ Andy Carter Robert Schiele for his help in keeping 'channels.conf.cable' up to date + for reporting some faulty default parameter initializations Gerhard Steiner for suggesting that the SVDRP command PUTE shall trigger an immediate write of diff --git a/HISTORY b/HISTORY index 37afb350..f481f012 100644 --- a/HISTORY +++ b/HISTORY @@ -1610,3 +1610,7 @@ Video Disk Recorder Revision History - The new configuration file 'reccmds.conf' can be used to define commands that shall be executed from the "Recordings" menu; see MANUAL and 'man vdr(5)' for details (suggested by Gerhard Steiner). + +2002-10-13: Version 1.1.14 + +- Fixed some faulty default parameter initializations (thanks to Robert Schiele). diff --git a/config.h b/config.h index 1f043c4a..133b7390 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.134 2002/10/13 10:03:09 kls Exp $ + * $Id: config.h 1.135 2002/10/13 16:12:55 kls Exp $ */ #ifndef __CONFIG_H @@ -20,7 +20,7 @@ #include "eit.h" #include "tools.h" -#define VDRVERSION "1.1.13" +#define VDRVERSION "1.1.14" #define MAXPRIORITY 99 #define MAXLIFETIME 99 diff --git a/dvbplayer.c b/dvbplayer.c index 927fde4e..0bc75c0d 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbplayer.c 1.14 2002/10/12 12:29:31 kls Exp $ + * $Id: dvbplayer.c 1.15 2002/10/13 16:08:40 kls Exp $ */ #include "dvbplayer.h" @@ -635,7 +635,7 @@ int cDvbPlayer::NumAudioTracks(void) const return canToggleAudioTrack ? 2 : 1; } -const char **cDvbPlayer::GetAudioTracks(int *CurrentTrack = NULL) const +const char **cDvbPlayer::GetAudioTracks(int *CurrentTrack) const { if (NumAudioTracks()) { if (CurrentTrack) diff --git a/transfer.c b/transfer.c index adb72605..253c065b 100644 --- a/transfer.c +++ b/transfer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: transfer.c 1.4 2002/10/12 13:32:48 kls Exp $ + * $Id: transfer.c 1.5 2002/10/13 16:08:44 kls Exp $ */ #include "transfer.h" @@ -155,7 +155,7 @@ int cTransfer::NumAudioTracks(void) const return canToggleAudioTrack ? 2 : 1; } -const char **cTransfer::GetAudioTracks(int *CurrentTrack = NULL) const +const char **cTransfer::GetAudioTracks(int *CurrentTrack) const { if (NumAudioTracks()) { if (CurrentTrack) -- cgit v1.2.3