mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Update std/gif's pass-through uncompressed_wi
This commit is contained in:
1 parent
043ba870f5
commit
ed1a8b4057
12 files changed
+69
-5
No files matched your search
@@ -353,7 +353,7 @@ pri func decoder.decode_id?(dst base.io_writer, src base.io_reader)() {
|
||||
in.src.set_mark!()
|
||||
// TODO: in.dst should be w.
|
||||
var z base.status = try this.lzw.decode?(dst:in.dst, src:in.src)
|
||||
// TODO: update this.uncompressed_wi.
|
||||
this.uncompressed_wi = 4096 - (w.available().min(x:4096) as base.u32)
|
||||
block_size ~sat-= in.src.since_mark().length()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user