Skip to content

Commit 48db76e

Browse files
committed
trying to fix ctidy
1 parent aa1beec commit 48db76e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libheif/color-conversion/rgb2rgb.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ Op_RGB_HDR_to_RRGGBBaa_BE::convert_colorspace(const std::shared_ptr<const HeifPi
238238

239239
if (input_has_alpha) {
240240
in_a = (uint16_t*) input->get_plane(heif_channel_Alpha, &in_a_stride);
241+
assert(in_a != nullptr);
241242
}
242243

243244
in_r_stride /= 2;

0 commit comments

Comments
 (0)