mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Let ? methods return OK even without suspending
This commit is contained in:
1 parent
865275db75
commit
00203e564f
4 files changed
+17
-11
No files matched your search
+6
-2
@@ -3628,9 +3628,13 @@ static wuffs_gif__status wuffs_gif__decoder__copy_to_image_buffer(
|
||||
v_dst = wuffs_base__table_u8__linearize(v_tab);
|
||||
if (((uint64_t)(v_dst.len)) == 0) {
|
||||
}
|
||||
} else {
|
||||
v_dst = wuffs_base__table_u8__row(v_tab, self->private_impl.f_dst_y);
|
||||
status = WUFFS_GIF__STATUS_OK;
|
||||
goto ok;
|
||||
}
|
||||
v_dst = wuffs_base__table_u8__row(v_tab, self->private_impl.f_dst_y);
|
||||
|
||||
goto ok;
|
||||
ok:
|
||||
goto exit;
|
||||
exit:
|
||||
return status;
|
||||
|
||||
Reference in new issue
Block a user