diff --git a/src/decoders/srw.rs b/src/decoders/srw.rs index 840016e..69e8e4e 100644 --- a/src/decoders/srw.rs +++ b/src/decoders/srw.rs @@ -282,7 +282,7 @@ impl<'a> SrwDecoder<'a> { pump.get_bits(12) as i32 } } else { - 0 + scale // Keep value from previous iteration }; // First we figure out which reference pixels mode we're in