[x265] v1.3+362: More or less detailed warnings with GCC 4.8.2

Mario *LigH* Rohkrämer contact at ligh.de
Mon Oct 6 09:00:30 CEST 2014


The Win32 8-bit compile has more detailed warnings than the other variants  
(Win64 or 16-bit).


[Win32 8-bit]

h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp: In member  
function 'void x265::Analysis::compressCTU(x265::TComDataCU*, const  
x265::Entropy&)':
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:717:55: warning:  
array subscript is above array bounds [-Warray-bounds]
          TComDataCU* subBestPartCU = m_bestCU[nextDepth];
                                                        ^
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:718:55: warning:  
array subscript is above array bounds [-Warray-bounds]
          TComDataCU* subTempPartCU = m_tempCU[nextDepth];
                                                        ^
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:717:55: warning:  
array subscript is above array bounds [-Warray-bounds]
          TComDataCU* subBestPartCU = m_bestCU[nextDepth];
                                                        ^
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:718:55: warning:  
array subscript is above array bounds [-Warray-bounds]
          TComDataCU* subTempPartCU = m_tempCU[nextDepth];
                                                        ^
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:750:64: warning:  
array subscript is above array bounds [-Warray-bounds]
                  zOrder += g_depthInc[ctuToDepthIndex][nextDepth];
                                                                 ^
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:750:64: warning:  
array subscript is above array bounds [-Warray-bounds]
                  zOrder += g_depthInc[ctuToDepthIndex][nextDepth];
                                                                 ^

[Win64 8-bit: nothing here]

[Win32/Win64 16-bit]

h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp: In member  
function 'void x265::Analysis::compressCTU(x265::TComDataCU*, const  
x265::Entropy&)':
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:590:55: warning:  
array subscript is above array bounds [-Warray-bounds]
          TComDataCU* subBestPartCU = m_bestCU[nextDepth];
                                                        ^
h:/MSYS/home/Entwicklung/x265/source/encoder/analysis.cpp:591:55: warning:  
array subscript is above array bounds [-Warray-bounds]
          TComDataCU* subTempPartCU = m_tempCU[nextDepth];
                                                        ^


[all]

h:/MSYS/home/Entwicklung/x265/source/encoder/ratecontrol.cpp: In member  
function 'double x265::RateControl::rateEstimateQscale(x265::Frame*,  
x265::RateControlEntry*)':
h:/MSYS/home/Entwicklung/x265/source/encoder/ratecontrol.cpp:1342:8:  
warning: 'minVal' may be used uninitialized in this function  
[-Wmaybe-uninitialized]
  double RateControl::rateEstimateQscale(Frame* pic, RateControlEntry *rce)
         ^
h:/MSYS/home/Entwicklung/x265/source/encoder/ratecontrol.cpp:1342:8:  
warning: 'maxVal' may be used uninitialized in this function  
[-Wmaybe-uninitialized]
h:/MSYS/home/Entwicklung/x265/source/encoder/ratecontrol.cpp:1342:8:  
warning: 'a' may be used uninitialized in this function  
[-Wmaybe-uninitialized]

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list