Skip to content

Commit 7ba783f

Browse files
committed
Bugfix to uncompressed compressor
1 parent 356c77a commit 7ba783f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compress/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ impl CompressorInner {
211211
writer.write_bits(0, 3)?;
212212
let writer = writer.flush()?;
213213
writer.write_all(&[0xff, 0xff, 0, 0])?;
214-
writer.write_all(&input[start..][..STORED_BLOCK_MAX_SIZE])?;
214+
writer.write_all(&input[..STORED_BLOCK_MAX_SIZE])?;
215215
input = &input[STORED_BLOCK_MAX_SIZE..];
216216
written += STORED_BLOCK_MAX_SIZE;
217217
}

0 commit comments

Comments
 (0)