mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Generate C code for "in.dst.write_u8?(x:foo)".
This commit is contained in:
1 parent
c1dff0ca41
commit
f5af981f15
7 files changed
+128
-12
No files matched your search
@@ -246,6 +246,11 @@ label_0_continue:;
|
||||
v_bits >>= v_width;
|
||||
v_n_bits -= v_width;
|
||||
if (v_code < v_clear_code) {
|
||||
if (a_dst->wi >= a_dst->len) {
|
||||
status = puffs_gif_status_short_write;
|
||||
goto cleanup0;
|
||||
}
|
||||
a_dst->ptr[a_dst->wi++] = ((uint8_t)(v_code));
|
||||
} else if (v_code == v_clear_code) {
|
||||
v_use_save_code = false;
|
||||
v_save_code = v_end_code;
|
||||
|
||||
Reference in new issue
Block a user