mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
3rdparty: integrate OpenJPEG build to the OpenCV CMake
- adopted build scripts - OpenJPEG build warnings are suppressed
This commit is contained in:
committed by
Alexander Alekhin
parent
0c84b91dde
commit
0384eb7d8c
@@ -558,7 +558,7 @@ bool Jpeg2KOpjDecoder::readHeader()
|
||||
CV_Error(Error::StsNotImplemented, cv::format("OpenJPEG2000: Component %d/%d is duplicate alpha channel", i, numcomps));
|
||||
}
|
||||
|
||||
hasAlpha |= (bool)comp.alpha;
|
||||
hasAlpha |= comp.alpha != 0;
|
||||
|
||||
if (comp.prec > 64)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user