mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Temporary code to continue this.lzw.decode calls.
This is a hard-coded, short term fix so that GIF decoding works end-to-end. The long term fix is to have some principled way of responding to non-fatal status codes such as "short read".
This commit is contained in:
1 parent
8ad82f5e1f
commit
8fe438d0b4
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -787,7 +787,7 @@ puffs_gif_status puffs_gif_decoder_decode_id(puffs_gif_decoder* self,
|
||||
PUFFS_COROUTINE_STATE(4);
|
||||
status = puffs_gif_lzw_decoder_decode(&self->private_impl.f_lzw, a_dst,
|
||||
v_lzw_src);
|
||||
if (status) {
|
||||
if (status & 1) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user