mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Add read-index bump after checking lit width.
This commit is contained in:
1 parent
6e7aa31aef
commit
f686adc3c0
1 file changed
+2
@@ -39,9 +39,11 @@ void test_lzw_decode() {
|
||||
(int)(src.ptr[0]), 0x08);
|
||||
goto cleanup0;
|
||||
}
|
||||
src.ri++;
|
||||
|
||||
puffs_gif_lzw_decoder dec;
|
||||
puffs_gif_lzw_decoder_constructor(&dec, PUFFS_VERSION, 0);
|
||||
// TODO: call puffs_gif_lzw_decoder_set_literal_width.
|
||||
puffs_gif_status status =
|
||||
puffs_gif_lzw_decoder_decode(&dec, &dst, &src, false);
|
||||
if (status != puffs_gif_status_ok) {
|
||||
|
||||
Reference in new issue
Block a user