From 0218cff0adde0292ad2ec9100bf9f2e6d76aac1d Mon Sep 17 00:00:00 2001 From: Joseph Shearer Date: Mon, 23 Sep 2024 14:37:34 -0400 Subject: [PATCH] fix: Propagate builder's setting of `block_checksum` --- src/encoder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoder.rs b/src/encoder.rs index 0c9fe2b2e..e0f132be1 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -99,7 +99,7 @@ impl EncoderBuilder { content_size: self.content_size.clone(), frame_type: FrameType::Frame, dict_id: 0, - block_checksum_flag: BlockChecksum::BlockChecksumEnabled, + block_checksum_flag: self.block_checksum.clone(), }, compression_level: self.level, auto_flush: if self.auto_flush { 1 } else { 0 },