mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Reset the GIF's LZW decoder if necessary
This commit is contained in:
1 parent
614ac408ae
commit
8586cf8e3d
7 files changed
+25
-6
No files matched your search
@@ -333,6 +333,12 @@ func (g *gen) writeExprOther(b *buffer, n *a.Expr, rp replacementPolicy, pp pare
|
||||
b.printf(")")
|
||||
return nil
|
||||
}
|
||||
if isThatMethod(g.tm, n, t.IDReset, 0) {
|
||||
// TODO: don't hard-code f_lzw.
|
||||
b.writes("wuffs_gif__lzw_decoder__initialize(" +
|
||||
"&self->private_impl.f_lzw, WUFFS_VERSION, 0)")
|
||||
return nil
|
||||
}
|
||||
// TODO.
|
||||
|
||||
case t.IDOpenBracket:
|
||||
|
||||
Reference in new issue
Block a user