mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Make swizzle_etc_reader sign conversion explicit
This commit is contained in:
1 parent
f73fc7721a
commit
ed9025c8dd
3 files changed
+6
-4
No files matched your search
@@ -11843,7 +11843,8 @@ wuffs_base__pixel_swizzler__swizzle_interleaved_from_reader(
|
||||
if (p && p->private_impl.func) {
|
||||
const uint8_t* iop_r = *ptr_iop_r;
|
||||
uint64_t n = (*p->private_impl.func)(dst.ptr, dst.len, dst_palette.ptr,
|
||||
dst_palette.len, iop_r, io2_r - iop_r);
|
||||
dst_palette.len, iop_r,
|
||||
(size_t)(io2_r - iop_r));
|
||||
*ptr_iop_r += n * p->private_impl.src_pixfmt_bytes_per_pixel;
|
||||
return n;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user