mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #24793 from Kumataro:fix24792
imgcodecs: suppress warning at test_avif.cpp
This commit is contained in:
commit
9120121dc7
@ -166,7 +166,7 @@ TEST_P(Imgcodecs_Avif_Image_EncodeDecodeSuite, imencode_imdecode) {
|
|||||||
cv::Exception);
|
cv::Exception);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
bool result;
|
bool result = true;
|
||||||
EXPECT_NO_THROW(
|
EXPECT_NO_THROW(
|
||||||
result = cv::imencode(".avif", img_original, buf, encoding_params_););
|
result = cv::imencode(".avif", img_original, buf, encoding_params_););
|
||||||
EXPECT_TRUE(result);
|
EXPECT_TRUE(result);
|
||||||
|
Loading…
Reference in New Issue
Block a user