ref: 91331e1ba451ae3b7628d075b6ac8d7075e36e57
parent: 1f770c488cfd5400e6e0092a3e49aef841f6c5de
author: Martin Storsjö <martin@martin.st>
date: Wed Jul 20 07:51:57 EDT 2016
Silence warnings with GCC 5.4 This fixes warnings like the following: codec/decoder/core/src/mv_pred.cpp: In function ‘void WelsDec::PredPSkipMvFromNeighbor(WelsDec::PDqLayer, int16_t*)’: codec/decoder/core/src/mv_pred.cpp:158:51: warning: ‘iLeftTopXy’ may be used uninitialized in this function [-Wmaybe-uninitialized] codec/processing/src/backgrounddetection/BackgroundDetection.cpp: In member function ‘void WelsVP::CBackgroundDetection::ForegroundDilation(WelsVP::SBackgroundOU*, WelsVP::SBackgroundOU**, WelsVP::CBackgroundDetection::vBGDParam*, int32_t)’: codec/processing/src/backgrounddetection/BackgroundDetection.cpp:281:63: warning: suggest parentheses around operand of ‘!’ or change ‘|’ to ‘||’ or ‘!’ to ‘~’ [-Wparentheses] For the possibly uninitialized variables, this is similar to earlier commits 8be8fe17 and af2666fd.