mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Add "RAC + Zeroes" codec
This commit is contained in:
1 parent
1a76fab33e
commit
88220a7591
6 files changed
+78
-15
No files matched your search
@@ -194,11 +194,6 @@ func (b *pNode) valid() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Check that the Codec is non-zero.
|
||||
if b[(8*arity)+7] == 0 {
|
||||
return false
|
||||
}
|
||||
|
||||
// Check that the DPtr values are non-decreasing. The first DPtr value is
|
||||
// implicitly zero.
|
||||
prev := u48LE(b[8*1:])
|
||||
|
||||
Reference in new issue
Block a user