mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Drop old facts after an impure function call
This commit is contained in:
1 parent
4848859f97
commit
10146b75dd
3 files changed
+43
-4
No files matched your search
@@ -247,8 +247,7 @@ pri func decoder.decode_ihdr?(src: base.io_reader) {
|
||||
|
||||
// Color.
|
||||
this.color_type = args.src.read_u8?()
|
||||
// TODO: uncomment.
|
||||
// this.bytes_per_row = 0
|
||||
this.bytes_per_row = 0
|
||||
this.calculate_bytes_per_row!()
|
||||
if this.bytes_per_row == 0 {
|
||||
return "#unsupported PNG file"
|
||||
|
||||
Reference in new issue
Block a user