mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00: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
@@ -301,7 +301,7 @@ pri func decoder.decode_id?(dst base.io_writer, src base.io_reader)() {
|
||||
}
|
||||
|
||||
if this.previous_lzw_decode_ended_abruptly {
|
||||
// TODO: reset this.lzw.
|
||||
this.lzw.reset()
|
||||
}
|
||||
|
||||
var lw base.u8 = in.src.read_u8?()
|
||||
|
||||
Reference in new issue
Block a user