1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

core: support CV_Check*() macros with 'bool' parameters

This commit is contained in:
Alexander Alekhin
2022-11-15 09:55:22 +00:00
parent b418eb112c
commit 54531f8e3b
3 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ bool WebPDecoder::readHeader()
WebPBitstreamFeatures features;
if (VP8_STATUS_OK == WebPGetFeatures(header, sizeof(header), &features))
{
CV_CheckEQ(features.has_animation, false, "WebP backend does not support animated webp images");
CV_CheckEQ(features.has_animation, 0, "WebP backend does not support animated webp images");
m_width = features.width;
m_height = features.height;