changeset 12589:f8a38d6ef1eb

Fix: gcc 9.2 warnings in encoder.cpp
author Srikanth Kurapati
date Thu, 28 Nov 2019 18:37:53 +0530
parents f0fe46ce379d
children a4e060a44839
files source/encoder/encoder.cpp
diffstat 1 files changed, 4 insertions(+-), 2 deletions(-) [+]
line wrap: on
line diff
--- a/source/encoder/encoder.cpp	Mon Nov 25 12:42:17 2019 +0530
+++ b/source/encoder/encoder.cpp	Thu Nov 28 18:37:53 2019 +0530
@@ -878,8 +878,10 @@ void Encoder::destroy()
 
     if (m_param->bHistBasedSceneCut)
     {
-        if(m_edgePic != NULL)
-           X265_FREE_ZERO(m_edgePic);
+        if (m_edgePic != NULL)
+        {
+            X265_FREE_ZERO(m_edgePic);
+        }
     }
 
     for (int i = 0; i < m_param->frameNumThreads; i++)