mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
imgcodecs: suppress warning at test_avif.cpp
This commit is contained in:
parent
2e3ccb4e8e
commit
46b3a504cf
@ -166,7 +166,7 @@ TEST_P(Imgcodecs_Avif_Image_EncodeDecodeSuite, imencode_imdecode) {
|
||||
cv::Exception);
|
||||
return;
|
||||
}
|
||||
bool result;
|
||||
bool result = true;
|
||||
EXPECT_NO_THROW(
|
||||
result = cv::imencode(".avif", img_original, buf, encoding_params_););
|
||||
EXPECT_TRUE(result);
|
||||
|
Loading…
Reference in New Issue
Block a user