diff options
Diffstat (limited to 'tests/heif')
-rw-r--r-- | tests/heif/heif_im2im.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/heif/heif_im2im.c b/tests/heif/heif_im2im.c index 202d6b3..01abf02 100644 --- a/tests/heif/heif_im2im.c +++ b/tests/heif/heif_im2im.c @@ -17,6 +17,9 @@ int main() int size = 0; CuTestImageResult result = {0, 0}; + if (!gdTestAssertMsg(heif_get_version_number_major() == 1 && heif_get_version_number_minor() >= 9, "changing chroma subsampling is not supported in this libheif version\n")) + return 77; + if (!gdTestAssertMsg(heif_have_decoder_for_format(heif_compression_HEVC) && heif_have_encoder_for_format(heif_compression_HEVC), "HEVC codec support missing from libheif\n")) return 77; |