[x265] [x265 Patch] Fix: MinGW\GCC 9.2 Warnings In Histogram Based Scene Cut Detection

Srikanth Kurapati srikanth.kurapati at multicorewareinc.com
Fri Nov 29 08:52:47 CET 2019


# HG changeset patch
# User Srikanth Kurapati
# Date 1574946473 -19800
#      Thu Nov 28 18:37:53 2019 +0530
# Node ID 47e02b577ac17e29a9d0c4c33efe46cc79d0bf66
# Parent  4a29e0c5bfaf30aaed2c5224bcba1f464d68de83
Fix: gcc 9.2 warnings in encoder.cpp

diff -r 4a29e0c5bfaf -r 47e02b577ac1 source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp Fri Nov 08 15:30:50 2019 +0530
+++ b/source/encoder/encoder.cpp Thu Nov 28 18:37:53 2019 +0530
@@ -878,8 +878,10 @@

     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++)

-- 
*With Regards,*
*Srikanth Kurapati.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191129/d9958460/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265-GCC9.2Warn.patch
Type: application/octet-stream
Size: 738 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191129/d9958460/attachment.obj>


More information about the x265-devel mailing list