- for _ in 3..self.blk_size {
- let b = br.read_byte()?;
- dst[doff] = ima.expand_sample(b >> 4);
- doff += 1;
- dst[doff] = ima.expand_sample(b & 0xF);
+ let mut b = 0;
+ for i in 0..self.blk_align {
+ if (i & 1) == 0 {
+ b = br.read_byte()?;
+ dst[doff] = ima.expand_sample(b >> 4);
+ } else {
+ dst[doff] = ima.expand_sample(b & 0xF);
+ }