<div dir="ltr">Pushed to master and release_4.1 branches</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 6, 2024 at 2:39 PM Uthayakumar Muthu <<a href="mailto:uthayakumar.muthu@multicorewareinc.com">uthayakumar.muthu@multicorewareinc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">From ed02cf8237bb316a7b64222062617d351b7f021d Mon Sep 17 00:00:00 2001<br>From: Uthayakumar Muthu <<a href="mailto:uthayakumar.muthu@multicorewareinc.com" target="_blank">uthayakumar.muthu@multicorewareinc.com</a>><br>Date: Mon, 4 Nov 2024 15:54:15 +0530<br>Subject: [PATCH] Fix pointer warning in x265<br><br>---<br> source/encoder/analysis.cpp | 4 ++--<br> 1 file changed, 2 insertions(+), 2 deletions(-)<br><br>diff --git a/source/encoder/analysis.cpp b/source/encoder/analysis.cpp<br>index c99c796af..6c72283f3 100644<br>--- a/source/encoder/analysis.cpp<br>+++ b/source/encoder/analysis.cpp<br>@@ -157,9 +157,9 @@ Mode& Analysis::compressCTU(CUData& ctu, Frame& frame, const CUGeom& cuGeom, con<br>         calculateNormFactor(ctu, qp);<br> <br>     uint32_t numPartition = ctu.m_numPartitions;<br>-    if (m_param->bCTUInfo && (*m_frame->m_ctuInfo + ctu.m_cuAddr))<br>+    if (m_param->bCTUInfo && m_frame->m_ctuInfo && m_frame->m_ctuInfo[ctu.m_cuAddr])<br>     {<br>-        x265_ctu_info_t* ctuTemp = *m_frame->m_ctuInfo + ctu.m_cuAddr;<br>+        x265_ctu_info_t* ctuTemp = m_frame->m_ctuInfo[ctu.m_cuAddr];<br>         int32_t depthIdx = 0;<br>         uint32_t maxNum8x8Partitions = 64;<br>         uint8_t* depthInfoPtr = m_frame->m_addOnDepth[ctu.m_cuAddr];<br>-- <br>2.39.2<br><br></div>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org" target="_blank">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div>