<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 30, 2018 at 7:34 PM, <span dir="ltr"><<a href="mailto:kavitha@multicorewareinc.com" target="_blank">kavitha@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 Kavitha Sampath <<a href="mailto:kavitha@multicorewareinc.com">kavitha@multicorewareinc.com</a>><br>
# Date 1527681605 -19800<br>
# Wed May 30 17:30:05 2018 +0530<br>
# Branch stable<br>
# Node ID c9234756abe6f559201e2dec78688c<wbr>50a939986d<br>
# Parent e3ff1e578df3fd35d349363cde2985<wbr>6165921429<br>
fix signed/unsigned mismatch warning in windows<br></blockquote><div><br></div><div>Pushed to stable branch, and merged into default.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r e3ff1e578df3 -r c9234756abe6 source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp Tue May 29 19:43:53 2018 +0530<br>
+++ b/source/encoder/encoder.cpp Wed May 30 17:30:05 2018 +0530<br>
@@ -3408,12 +3408,12 @@<br>
allocAnalysis(analysis);<br>
if (m_param->bDisableLookahead && m_rateControl->m_isVbv)<br>
{<br>
- uint64_t vbvCount = m_param->lookaheadDepth + m_param->bframes + 2;<br>
+ size_t vbvCount = m_param->lookaheadDepth + m_param->bframes + 2;<br>
X265_FREAD(analysis-><wbr>lookahead.intraVbvCost, sizeof(uint32_t), analysis->numCUsInFrame, m_analysisFileIn, picData->lookahead.<wbr>intraVbvCost);<br>
X265_FREAD(analysis-><wbr>lookahead.vbvCost, sizeof(uint32_t), analysis->numCUsInFrame, m_analysisFileIn, picData->lookahead.vbvCost);<br>
X265_FREAD(analysis-><wbr>lookahead.satdForVbv, sizeof(uint32_t), analysis->numCuInHeight, m_analysisFileIn, picData->lookahead.satdForVbv)<wbr>;<br>
X265_FREAD(analysis-><wbr>lookahead.intraSatdForVbv, sizeof(uint32_t), analysis->numCuInHeight, m_analysisFileIn, picData->lookahead.<wbr>intraSatdForVbv);<br>
- X265_FREAD(analysis-><wbr>lookahead.plannedSatd, sizeof(uint64_t), vbvCount, m_analysisFileIn, picData->lookahead.<wbr>plannedSatd);<br>
+ X265_FREAD(analysis-><wbr>lookahead.plannedSatd, sizeof(int64_t), vbvCount, m_analysisFileIn, picData->lookahead.<wbr>plannedSatd);<br>
<br>
if (m_param->scaleFactor)<br>
{<br>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div></div>