fixed
This commit is contained in:
parent
cd68cd43a2
commit
7b552c0493
@ -1920,6 +1920,12 @@ public:
|
|||||||
0;
|
0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( func == 0 )
|
||||||
|
{
|
||||||
|
*ok = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (src.depth())
|
switch (src.depth())
|
||||||
{
|
{
|
||||||
case CV_8U:
|
case CV_8U:
|
||||||
@ -2061,7 +2067,7 @@ public:
|
|||||||
|
|
||||||
AutoBuffer<uchar> buf(bufsize + 64);
|
AutoBuffer<uchar> buf(bufsize + 64);
|
||||||
uchar* bufptr = alignPtr((uchar*)buf, 32);
|
uchar* bufptr = alignPtr((uchar*)buf, 32);
|
||||||
if( func( pSrc, (int)src.step[0], pDst, (int)dst.step[0], dstOffset, dstSize, ippBorderRepl, 0, pSpec, bufptr ) <= 0 )
|
if( func( pSrc, (int)src.step[0], pDst, (int)dst.step[0], dstOffset, dstSize, ippBorderRepl, 0, pSpec, bufptr ) < 0 )
|
||||||
*ok = false;
|
*ok = false;
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user