Handle decoding a GIF in many short reads.

This commit is contained in:
Nigel Tao committed 2017-07-16 19:25:49 +10:00
1 parent a0c772f617
commit bd6d2ea3a1
3 files changed
+74 -29

No files matched your search

+2 -2
View File
@@ -1027,8 +1027,8 @@ puffs_gif_status puffs_gif_decoder_decode_id(puffs_gif_decoder* self,
}
b_rend_src = b_rptr_src + len;
}
if (status < 0) {
return status;
if (l_lzw_src && status) {
goto suspend;
}
}
label_0_break:;