From d7a44f5d0967b903c111f3df95b60910f8583f93 Mon Sep 17 00:00:00 2001
From: Taoran Lu <tlu@dolby.com>
Date: Fri, 25 Jan 2019 18:17:19 -0800
Subject: [PATCH] fix formatting: use of braces.

---
 source/Lib/CommonLib/RdCost.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/source/Lib/CommonLib/RdCost.cpp b/source/Lib/CommonLib/RdCost.cpp
index fea6c564..a5f84b9d 100644
--- a/source/Lib/CommonLib/RdCost.cpp
+++ b/source/Lib/CommonLib/RdCost.cpp
@@ -3002,14 +3002,18 @@ Distortion RdCost::getWeightedMSE(int compIdx, const Pel org, const Pel cur, con
   if (m_signalType == RESHAPE_SIGNAL_SDR) 
   {
     if (compIdx == COMPONENT_Y)
+    {
       weight = m_reshapeLumaLevelToWeightPLUT[orgLuma];
+    }
     else
     {
       weight = m_chromaWeight; 
     }
   }
   else
-      weight = m_reshapeLumaLevelToWeightPLUT[orgLuma];
+  {
+    weight = m_reshapeLumaLevelToWeightPLUT[orgLuma];
+  }
 #else
   double weight = m_lumaLevelToWeightPLUT[orgLuma];
 #endif
-- 
GitLab