Skip to content

Commit f94e7be

Browse files
committed
remove leftover overflow comment and keep uint64_t casts
1 parent c6b6a7a commit f94e7be

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/read.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,6 @@ static avifResult avifDecoderDataAllocateImagePlanes(const avifDecoderData * dat
17381738
// HEIF (ISO/IEC 23008-12:2017), Section 6.6.2.3.1:
17391739
// The tiled input images shall completely "cover" the reconstructed image grid canvas, ...
17401740

1741-
// Check for integer overflow before performing multiplications
17421741
if (((uint64_t)tile->image->width * grid->columns < grid->outputWidth) ||
17431742
((uint64_t)tile->image->height * grid->rows < grid->outputHeight)) {
17441743

0 commit comments

Comments
 (0)