Merge pull request #24793 from Kumataro:fix24792

imgcodecs: suppress warning at test_avif.cpp
This commit is contained in:
Alexander Smorkalov 2023-12-29 16:27:41 +03:00 committed by GitHub
commit 9120121dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);