mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Allow an io_limit limit to be a refined base.u64
This commit is contained in:
1 parent
fad2ddce68
commit
6fe313a72c
2 files changed
+2
-2
No files matched your search
@@ -625,7 +625,7 @@ pri func decoder.decode_id_part1!??(dst ptr base.pixel_buffer, src base.io_reade
|
||||
this.copy_to_image_buffer!?(pb:args.dst)
|
||||
}
|
||||
}
|
||||
var block_size base.u64 = args.src.read_u8_as_u64!??()
|
||||
var block_size base.u64[..255] = args.src.read_u8_as_u64!??()
|
||||
if block_size == 0 {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user