Commit 24df7143 for libheif
commit 24df7143d42651bac838fdd58039e5dc897bd6b4
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Mon Sep 21 02:51:50 2026 +0200
Rename the HEVC "ispe odd size" test case and fix SKIP indentation
Follow-up to #1908: the first test case is HEVC-only now, so name it
symmetrically to "AVIF ispe odd size", and indent the two SKIP() lines
like the surrounding code.
diff --git a/tests/encode.cc b/tests/encode.cc
index 18464fd8..7c4c6653 100644
--- a/tests/encode.cc
+++ b/tests/encode.cc
@@ -142,9 +142,9 @@ static void test_ispe_size(heif_compression_format compression,
}
-TEST_CASE( "ispe odd size", "[heif_context]" ) {
+TEST_CASE( "HEVC ispe odd size", "[heif_context]" ) {
if (!heif_have_encoder_for_format(heif_compression_HEVC)) {
- SKIP("HEVC encoder not available, skipping test");
+ SKIP("HEVC encoder not available, skipping test");
}
// HEVC encoders typically encode with even dimensions only
@@ -156,7 +156,7 @@ TEST_CASE( "ispe odd size", "[heif_context]" ) {
TEST_CASE( "AVIF ispe odd size", "[heif_context]" ) {
if (!heif_have_encoder_for_format(heif_compression_AV1)) {
- SKIP("AV1 encoder not available, skipping test");
+ SKIP("AV1 encoder not available, skipping test");
}
// AVIF encoders typically encode with odd dimensions