summaryrefslogtreecommitdiff
path: root/recorder.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-25 20:14:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-25 20:14:06 +0200
commite1f04cd6fae1f3496a09a8b061c8b51392e76579 (patch)
treee16ba86fae128c8533daa055b45bc0ef83473452 /recorder.c
parent7775698bacf8053355be9c86fbab0eb5e244aa1a (diff)
downloadvdr-e1f04cd6fae1f3496a09a8b061c8b51392e76579.tar.gz
vdr-e1f04cd6fae1f3496a09a8b061c8b51392e76579.tar.bz2
Added missing initialization of cRecorder::lastErrors
Diffstat (limited to 'recorder.c')
-rw-r--r--recorder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/recorder.c b/recorder.c
index 21d99b44..0c07255d 100644
--- a/recorder.c
+++ b/recorder.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recorder.c 5.2 2021/05/23 15:03:17 kls Exp $
+ * $Id: recorder.c 5.3 2021/05/25 20:14:06 kls Exp $
*/
#include "recorder.h"
@@ -172,6 +172,7 @@ cRecorder::cRecorder(const char *FileName, const cChannel *Channel, int Priority
recordingInfo->Read();
oldErrors = max(0, recordingInfo->Errors()); // in case this is a re-started recording
errors = oldErrors;
+ lastErrors = errors;
firstIframeSeen = false;
// Make sure the disk is up and running: