[x265] analysis.cpp, compressInterCU_rd5_6 - parentheses warning (GCC 7.2.0, Win32)

Mario *LigH* Rohkrämer contact at ligh.de
Mon Nov 20 09:41:08 CET 2017


Probably just to avoid ambiguity:

[ 12%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.obj
H:/dev/mabs/build/x265-hg/source/encoder/analysis.cpp: In member function  
'x265_12bit::SplitData x265_12bit::Analysis::compressInterCU_rd5_6(const  
x265_12bit::CUData&, const x265_12bit::CUGeom&, int32_t)':
H:/dev/mabs/build/x265-hg/source/encoder/analysis.cpp:2003:43: warning:  
suggest parentheses around '&&' within '||' [-Wparentheses]
          if (mightNotSplit && !md.bestMode && !bCtuInfoCheck ||  
(m_param->bMVType && (m_modeFlag[0] || m_modeFlag[1])))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~


-- 

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


More information about the x265-devel mailing list