From 908b68c9009d5a08e7797a6a92ba052052aadb75 Mon Sep 17 00:00:00 2001
From: Karsten Suehring <karsten.suehring@hhi.fraunhofer.de>
Date: Wed, 26 May 2021 00:58:01 +0200
Subject: [PATCH] Fix build error with GCC 11.1

---
 source/Lib/CommonLib/CommonDef.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/Lib/CommonLib/CommonDef.h b/source/Lib/CommonLib/CommonDef.h
index 000408aae2..dfbf09854f 100644
--- a/source/Lib/CommonLib/CommonDef.h
+++ b/source/Lib/CommonLib/CommonDef.h
@@ -484,10 +484,10 @@ static const int MIN_TSRC_RICE =                                  1;  ///<Minimu
 
 struct ClpRng
 {
-  int min;
-  int max;
-  int bd;
-  int n;
+  int min {0};
+  int max {0};
+  int bd  {0};
+  int n   {0};
 };
 
 struct ClpRngs
-- 
GitLab