Update std/gif's pass-through uncompressed_wi

This commit is contained in:
Nigel Tao committed 2018-05-13 13:09:58 +10:00
1 parent 043ba870f5
commit ed1a8b4057
12 files changed
+69 -5

No files matched your search

+1 -1
View File
@@ -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()
}