Check ippStsNoErr as result of ipp function instead >=0

This commit is contained in:
vbystricky 2014-03-28 12:49:12 +04:00
parent c65e5a1e7b
commit aece433b15

View File

@ -2199,7 +2199,7 @@ public:
*ok = false;
return;
}
if( ippicviFilterBilateral_8u_C1R( src.ptr<uchar>(range.start) + radius * ((int)src.step[0] + 1), (int)src.step[0], dst.ptr<uchar>(range.start), (int)dst.step[0], roi, kernel, pSpec ) < 0)
if (ippStsNoErr != ippicviFilterBilateral_8u_C1R( src.ptr<uchar>(range.start) + radius * ((int)src.step[0] + 1), (int)src.step[0], dst.ptr<uchar>(range.start), (int)dst.step[0], roi, kernel, pSpec ))
*ok = false;
}
private: