From 8363b2cb25426b73a999f871970aac315eace55d Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Mon, 18 Nov 2024 01:30:28 +0100 Subject: [PATCH] heif-info: only show tiling info when image uses tiling --- examples/heif_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/heif_info.cc b/examples/heif_info.cc index 7bdaffa976..751273e509 100644 --- a/examples/heif_info.cc +++ b/examples/heif_info.cc @@ -273,7 +273,7 @@ int main(int argc, char** argv) if (err.code) { std::cerr << "Error while trying to get image tiling information: " << err.message << "\n"; } - else if (tiling.num_columns > 0) { + else if (tiling.num_columns != 1 || tiling.num_rows != 1) { std::cout << " tiles: " << tiling.num_columns << "x" << tiling.num_rows << ", tile size: " << tiling.tile_width << "x" << tiling.tile_height << "\n"; }