mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
1 parent
d7f6b81d31
commit
00a01abc4e
4 files changed
+22
-18
No files matched your search
@@ -269,7 +269,7 @@ wuffs_private_impl__bulk_save_host_endian(void* ptr,
|
||||
|
||||
static inline wuffs_base__slice_u8 //
|
||||
wuffs_private_impl__table_u8__row_u32(wuffs_base__table_u8 t, uint32_t y) {
|
||||
if (y < t.height) {
|
||||
if (t.ptr && (y < t.height)) {
|
||||
return wuffs_base__make_slice_u8(t.ptr + (t.stride * y), t.width);
|
||||
}
|
||||
return wuffs_base__empty_slice_u8();
|
||||
|
||||
Reference in new issue
Block a user