mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Remove the std/lzw decoder.available method
This commit is contained in:
1 parent
247232091d
commit
7a02605144
3 files changed
+7
-33
No files matched your search
@@ -661,8 +661,8 @@ pri func decoder.decode_id_part1!??(dst ptr base.pixel_buffer, src base.io_reade
|
||||
this.compressed_ri ~sat+= r.since_mark().length()
|
||||
}
|
||||
|
||||
if this.lzw.available() > 0 {
|
||||
var uncompressed slice base.u8 = this.lzw.take_all!()
|
||||
var uncompressed slice base.u8 = this.lzw.take_all!()
|
||||
if uncompressed.length() > 0 {
|
||||
this.copy_to_image_buffer!?(pb:args.dst, src:uncompressed)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user