aboutsummaryrefslogtreecommitdiff
path: root/test2/src/encode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test2/src/encode.rs')
-rw-r--r--test2/src/encode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test2/src/encode.rs b/test2/src/encode.rs
index ed091cb..c120e79 100644
--- a/test2/src/encode.rs
+++ b/test2/src/encode.rs
@@ -73,7 +73,7 @@ impl BitstreamFilter for Enc {
out.push((reloff.x + 127) as u8);
out.push((reloff.y + 127) as u8);
- for i in 0..(BLOCK_SIZE * BLOCK_SIZE + BLOCK_SIZE * BLOCK_SIZE / 4) {
+ for i in 0..(BLOCK_SIZE * BLOCK_SIZE + BLOCK_SIZE * BLOCK_SIZE / 2) {
out.push(newblock[i as usize] - oldblock[i as usize] + 127)
}
}