<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 5:46 PM, <span dir="ltr"><<a href="mailto:gopu@multicorewareinc.com" target="_blank">gopu@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Gopu Govindaswamy<br>
# Date 1391730404 28800<br>
# Thu Feb 06 15:46:44 2014 -0800<br>
# Node ID e46200fced768a256a76a11b80da387ab8391a24<br>
# Parent e2aaeaa85c037fa45da39920e96ecac9bce1bf4e<br>
lowres: initialize weightedCostDelta to avoid Valgrind reporting uninitialized memory<br></blockquote><div><br></div><div>queued, thanks</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff -r e2aaeaa85c03 -r e46200fced76 source/common/lowres.cpp<br>
--- a/source/common/lowres.cpp Thu Feb 06 13:26:50 2014 -0800<br>
+++ b/source/common/lowres.cpp Thu Feb 06 15:46:44 2014 -0800<br>
@@ -135,6 +135,7 @@<br>
leadingBframes = 0;<br>
satdCost = (int64_t)-1;<br>
memset(costEst, -1, sizeof(costEst));<br>
+ memset(weightedCostDelta, 0, sizeof(weightedCostDelta));<br>
<br>
if (qpAqOffset && invQscaleFactor)<br>
memset(costEstAq, -1, sizeof(costEstAq));<br>
_______________________________________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Steve Borho
</div></div>