Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Mar 1, 2025
1 parent fd5de98 commit 24d6ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/pixelimage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Error HeifPixelImage::ImagePlane::alloc(uint32_t width, uint32_t height, heif_ch
(limits->max_memory_block_size < alignment - 1U ||
(limits->max_memory_block_size - (alignment - 1U)) / stride < m_mem_height)) {
std::stringstream sstr;
sstr << "Allocating " << static_cast<size_t>(m_mem_height) * stride + alignment - 1 << " exceeds the security limit of "
sstr << "Allocating " << static_cast<size_t>(m_mem_height) * stride + alignment - 1 << " bytes exceeds the security limit of "
<< limits->max_memory_block_size << " bytes";

return {heif_error_Memory_allocation_error,
Expand Down

0 comments on commit 24d6ce7

Please sign in to comment.