Skip to content

Commit

Permalink
Update codecs/zstd/zstd_codec.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti authored Aug 14, 2024
1 parent b4714df commit 6b8c5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecs/zstd/zstd_codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ val decompress(std::string source)
// guess decompressed buffer size based on source size
dest_size = source_size*2;

// Initialize the destination size to 1 MiB at minimum
// Initialize the destination size to DEST_GROWTH_SIZE (default: 128 KiB) at minimum
if (dest_size < DEST_GROWTH_SIZE)
dest_size = DEST_GROWTH_SIZE;

Expand Down

0 comments on commit 6b8c5ed

Please sign in to comment.