diff --git a/ffmpeg.h b/ffmpeg.h index 74d411c5..dac5ee12 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -20,9 +20,9 @@ class FFmpegThread : public cThread { private: cCondWait cw; - bool touch; + bool touch = false; int targetChannel; - int vOption; + int vOption = 0; std::string session; }; @@ -32,7 +32,7 @@ class FFmpegThread : public cThread { class cPipe2 { private: pid_t pid; - bool terminated; + bool terminated = false; FILE *f; public: cPipe2(void); diff --git a/md5.h b/md5.h index 65cb1258..1d425612 100644 --- a/md5.h +++ b/md5.h @@ -88,8 +88,8 @@ class md5 private: uint4 m_State[4]; uint4 m_Count[2]; - uchar m_Buffer[64]; - uchar m_Digest[16]; - uchar m_Finalized; + uchar m_Buffer[64] = {0}; + uchar m_Digest[16] = {0}; + uchar m_Finalized = 0; }; diff --git a/timers.h b/timers.h index 2fb0a46e..430c6113 100644 --- a/timers.h +++ b/timers.h @@ -84,7 +84,7 @@ namespace vdrlive { TimerList m_updateTimers; ErrorList m_failedUpdates; cCondVar m_updateWait; - bool m_reloadTimers; + bool m_reloadTimers = false; void DoUpdateTimers(); void DoInsertTimer( timerStruct& timerData );