mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Handle decoding a GIF in many short reads.
This commit is contained in:
1 parent
a0c772f617
commit
bd6d2ea3a1
3 files changed
+74
-29
No files matched your search
@@ -962,8 +962,8 @@ func (g *gen) writeCallSuspendibles(n *a.Expr, depth uint32) error {
|
||||
if err := g.writeLoadExprDerivedVars(n); err != nil {
|
||||
return err
|
||||
}
|
||||
// TODO: be principled with "if (status < 0)" vs "if (status)".
|
||||
g.writes("if (status < 0) { return status; }\n")
|
||||
// TODO: be principled with "if (l_lzw_src && etc)".
|
||||
g.writes("if (l_lzw_src && status) { goto suspend; }\n")
|
||||
|
||||
} else {
|
||||
// TODO: fix this.
|
||||
|
||||
Reference in new issue
Block a user