mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +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
@@ -1033,6 +1033,16 @@ func (g *gen) writeCallSuspendibles(n *a.Expr, depth uint32) error {
|
||||
g.pkgName, g.perFunc.funk.Receiver().String(g.tm), aPrefix)
|
||||
g.writes("if (status) { goto cleanup0; }\n")
|
||||
|
||||
} else if isThisMethod(g.tm, n, "decode_extension") {
|
||||
g.printf("status = puffs_%s_%s_decode_extension(self, %ssrc);\n",
|
||||
g.pkgName, g.perFunc.funk.Receiver().String(g.tm), aPrefix)
|
||||
g.writes("if (status) { goto cleanup0; }\n")
|
||||
|
||||
} else if isThisMethod(g.tm, n, "decode_id") {
|
||||
g.printf("status = puffs_%s_%s_decode_id(self, %ssrc);\n",
|
||||
g.pkgName, g.perFunc.funk.Receiver().String(g.tm), aPrefix)
|
||||
g.writes("if (status) { goto cleanup0; }\n")
|
||||
|
||||
} else {
|
||||
// TODO: fix this.
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user