Reset the GIF's LZW decoder if necessary

This commit is contained in:
Nigel Tao committed 2018-05-10 14:42:10 +10:00
1 parent 614ac408ae
commit 8586cf8e3d
7 files changed
+25 -6

No files matched your search

+2
View File
@@ -2865,6 +2865,8 @@ static wuffs_gif__status wuffs_gif__decoder__decode_id(
}
}
if (self->private_impl.f_previous_lzw_decode_ended_abruptly) {
wuffs_gif__lzw_decoder__initialize(&self->private_impl.f_lzw,
WUFFS_VERSION, 0);
}
{
WUFFS_BASE__COROUTINE_SUSPENSION_POINT(13);