From b5c817869631085dd20a5edbd087d4549a42da13 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sun, 5 May 2024 18:43:15 +0200 Subject: [PATCH] remove stray whitespaces --- nihav-acorn/src/codecs/linepack.rs | 2 +- nihav-acorn/src/codecs/movingblockshq.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nihav-acorn/src/codecs/linepack.rs b/nihav-acorn/src/codecs/linepack.rs index 3b4c7e9..0311e8b 100644 --- a/nihav-acorn/src/codecs/linepack.rs +++ b/nihav-acorn/src/codecs/linepack.rs @@ -244,7 +244,7 @@ impl NAPacketiser for LinePackPacketiser { 1 => ((val >> 6) & 0x3F) as usize, // motion size 2 => common_len, // run 3 => common_len, // raw - 4 => common_len & 0xFF, // four-colour pattern + 4 => common_len & 0xFF, // four-colour pattern 5 => common_len * 2, // interleaved _ => 0, // ??? }; diff --git a/nihav-acorn/src/codecs/movingblockshq.rs b/nihav-acorn/src/codecs/movingblockshq.rs index 0c4ca24..d271ec5 100644 --- a/nihav-acorn/src/codecs/movingblockshq.rs +++ b/nihav-acorn/src/codecs/movingblockshq.rs @@ -541,7 +541,7 @@ mod test { } } -const LUMA_CODES: [u16; 32] = [ +const LUMA_CODES: [u16; 32] = [ 0x002, 0x007, 0x004, 0x008, 0x01D, 0x03B, 0x035, 0x05B, 0x065, 0x070, 0x050, 0x0ED, 0x0A5, 0x0C5, 0x090, 0x19B, 0x16D, 0x06D, 0x09B, 0x010, 0x045, 0x025, 0x01B, 0x030, -- 2.39.5