mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Drop args- and this-related facts after ? call
This commit is contained in:
1 parent
b3cc3c53ad
commit
2dfe222681
3 files changed
+19
-12
No files matched your search
@@ -228,8 +228,8 @@ pri func decoder.decode_blocks?(dst: base.io_writer, src: base.io_reader) {
|
||||
post this.n_bits >= 3,
|
||||
{
|
||||
b0 = args.src.read_u8_as_u32?()
|
||||
this.bits |= b0 << this.n_bits
|
||||
this.n_bits += 8
|
||||
this.bits |= b0 << (this.n_bits & 3)
|
||||
this.n_bits = (this.n_bits & 3) + 8
|
||||
} endwhile
|
||||
final = this.bits & 0x01
|
||||
type = (this.bits >> 1) & 0x03
|
||||
|
||||
Reference in new issue
Block a user