mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Save the short_src status code.
This commit is contained in:
1 parent
2e35b4cfd0
commit
9a27953faf
2 files changed
+12
-6
No files matched your search
+2
-1
@@ -217,7 +217,8 @@ puffs_gif_status puffs_gif_lzw_decoder_decode(puffs_gif_lzw_decoder* self,
|
||||
while (1) {
|
||||
while ((v_n_bits < v_width)) {
|
||||
if (a_src->ri >= a_src->wi) {
|
||||
return puffs_gif_status_short_src;
|
||||
status = puffs_gif_status_short_src;
|
||||
goto cleanup0;
|
||||
}
|
||||
uint8_t t_0 = a_src->ptr[a_src->ri++];
|
||||
v_bits |= ((uint32_t)(t_0));
|
||||
|
||||
Reference in new issue
Block a user