mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Decode the rest of a GIF.
Passing an Image Descriptor's block data payload to the LZW decoder is still a TODO.
This commit is contained in:
1 parent
17e47fbc1e
commit
8134c89786
6 files changed
+289
-10
No files matched your search
+2
-1
@@ -328,7 +328,8 @@ func (q *checker) tcheckExprOther(n *a.Expr, depth uint32) error {
|
||||
// n is a function call.
|
||||
// TODO: delete this hack that only matches "in.src.read_u8?()" etc.
|
||||
if isInSrcReadU8(q.tm, n) || isInDst(q.tm, n, t.KeyWrite) || isInDst(q.tm, n, t.KeyWriteU8) ||
|
||||
isThisMethod(q.tm, n, "decode_header") || isThisMethod(q.tm, n, "decode_lsd") {
|
||||
isThisMethod(q.tm, n, "decode_header") || isThisMethod(q.tm, n, "decode_lsd") ||
|
||||
isThisMethod(q.tm, n, "decode_extension") || isThisMethod(q.tm, n, "decode_id") {
|
||||
|
||||
if err := q.tcheckExpr(n.LHS().Expr(), depth); err != nil {
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user