mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
std/handsum: change version bits from 0x00 to 0x40
This commit is contained in:
1 parent
2d049080ac
commit
a6c89da981
6 files changed
+6
-6
No files matched your search
@@ -82,7 +82,7 @@ pri func decoder.do_decode_image_config?(dst: nptr base.image_config, src: base.
|
||||
return "#bad header"
|
||||
}
|
||||
c32 = args.src.read_u8_as_u32?()
|
||||
if (c32 & 0xC0) <> 0x00 {
|
||||
if (c32 & 0xC0) <> 0x40 {
|
||||
return "#unsupported Handsum file"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user