<div dir="ltr">Thanks, Mario. Except for the first one, most are harmless. But, we'll be fixing those right away. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 21, 2014 at 9:59 AM, Mario Rohkrämer <span dir="ltr"><<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No panic; I know that many reasons for warnings are less than serious. Just reporting.<br>
<br>
__<br>
<br>
<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp: In member function 'void x265::TComWeightPrediction::<u></u>getWpScaling(x265::TComDataCU*<u></u>, int, int, x265::WeightParam*&, x265::WeightParam*&)':<br>


h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:518:<u></u>62: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]<br>
         X265_CHECK(0, "unexpected wpScaling configuration\n");<br>
                                                              ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp: In member function 'void x265::TComWeightPrediction::<u></u>xWeightedPredictionBi(x265::<u></u>TComDataCU*, x265::TComYuv*, x265::TComYuv*, int, int, uint32_t, int, int, x265::TComYuv*, bool, bool)':<br>


h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:537:<u></u>45: warning: 'pwp1' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
             wp1[yuv].round  = wp0[yuv].round;<br>
                                             ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:567:<u></u>26: note: 'pwp1' was declared here<br>
     WeightParam  *pwp0, *pwp1;<br>
                          ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:530:<u></u>51: warning: 'pwp0' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
             wp0[yuv].w      = wp0[yuv].inputWeight;<br>
                                                   ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:567:<u></u>19: note: 'pwp0' was declared here<br>
     WeightParam  *pwp0, *pwp1;<br>
                   ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp: In member function 'void x265::TComWeightPrediction::<u></u>xWeightedPredictionBi(x265::<u></u>TComDataCU*, x265::ShortYuv*, x265::ShortYuv*, int, int, uint32_t, int, int, x265::TComYuv*, bool, bool)':<br>


h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:537:<u></u>45: warning: 'pwp1' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
             wp1[yuv].round  = wp0[yuv].round;<br>
                                             ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:603:<u></u>26: note: 'pwp1' was declared here<br>
     WeightParam  *pwp0, *pwp1;<br>
                          ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:530:<u></u>51: warning: 'pwp0' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
             wp0[yuv].w      = wp0[yuv].inputWeight;<br>
                                                   ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>Lib/TLibCommon/<u></u>TComWeightPrediction.cpp:603:<u></u>19: note: 'pwp0' was declared here<br>
     WeightParam  *pwp0, *pwp1;<br>
                   ^<br>
__<br>
<br>
<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/level.cpp: In function 'void x265::determineLevel(const x265_param&, x265::Profile::Name&, x265::Level::Name&, x265::Level::Tier&)':<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/level.cpp:143:24: warning: array subscript is above array bounds [-Warray-bounds]<br>
         while (levels[i].levelIdc < param.levelIdc && levels[i].levelIdc)<br>
                        ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/level.cpp:143:24: warning: array subscript is above array bounds [-Warray-bounds]<br>
<br>
__<br>
<br>
<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp: In member function 'bool x265::RateControl::initPass2()<u></u>':<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp:728:6: warning: 'minVal' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
 bool RateControl::initPass2()<br>
      ^<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp:728:6: warning: 'maxVal' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp:728:6: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp:728:6: warning: 'minVal' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp:728:6: warning: 'maxVal' may be used uninitialized in this function [-Wmaybe-uninitialized]<br>
h:/MSYS/home/LigH/x265/source/<u></u>encoder/ratecontrol.cpp:728:6: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
Fun and success!<br>
Mario *LigH* Rohkrämer<br>
mailto:<a href="mailto:contact@ligh.de" target="_blank">contact@ligh.de</a><br>
______________________________<u></u>_________________<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" target="_blank">https://mailman.videolan.org/<u></u>listinfo/x265-devel</a><br>
</font></span></blockquote></div><br></div>