Merge pull request #24793 from Kumataro:fix24792

imgcodecs: suppress warning at test_avif.cpp
pull/24798/head
Alexander Smorkalov 11 months ago committed by GitHub
commit 9120121dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/imgcodecs/test/test_avif.cpp

@ -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…
Cancel
Save