diff --git a/libheif/image-items/image_item.cc b/libheif/image-items/image_item.cc index aa48f0866f..bda776d301 100644 --- a/libheif/image-items/image_item.cc +++ b/libheif/image-items/image_item.cc @@ -710,6 +710,8 @@ Error ImageItem::transform_requested_tile_position_to_original_tile_position(uin tile_y = tiling.num_rows - 1 - tile_y; break; } + case 0: + break; default: assert(false); break;