Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/external/fortplot_zlib_core.f90
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ function zlib_compress(input_data, input_len, output_len) result(output_data)
output_data(pos+1) = int(z'9C', int8)
pos = pos + 2

! Generate simple uncompressed DEFLATE blocks
! Generate compressed DEFLATE blocks using Huffman coding
compressed_len = 1
call compress_with_uncompressed_blocks(input_data, input_len, compressed_data, compressed_len)
call compress_with_fixed_huffman(input_data, input_len, compressed_data, compressed_len)

! Bounds check before copying compressed data
if (compressed_len > size(compressed_data)) then
Expand Down
Loading