mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
fix implicit fallthrough warning.
This commit is contained in:
parent
71aee662bd
commit
e8ac3ea9ea
1
3rdparty/carotene/src/resize.cpp
vendored
1
3rdparty/carotene/src/resize.cpp
vendored
@ -109,6 +109,7 @@ bool isResizeLinearOpenCVSupported(const Size2D &ssize, const Size2D &dsize, u32
|
||||
&& dsize.width >= 2 && dsize.height >= 8
|
||||
&& (2*dsize.width != ssize.width || 2*dsize.height != ssize.height)) // 2x downscaling is performed as area in OpenCV which differs from this implementation
|
||||
return isSupportedConfiguration();
|
||||
return false;
|
||||
default:
|
||||
return false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user