Skip to content

Commit

Permalink
Fix initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Sep 16, 2024
1 parent c1ec9f5 commit 5c16f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ end
# -------

function TranscodingStreams.initialize(codec::ZstdCompressor)
code = initialize!(codec.cstream, codec.level)
code = initialize!(codec.cstream, codec.parameters)
if iserror(code)
zstderror(codec.cstream, code)
end
Expand Down

0 comments on commit 5c16f36

Please sign in to comment.