mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Fix std/png Paeth filter for the top row
This commit is contained in:
1 parent
ad311dac93
commit
5ad6238f34
2 files changed
+12
No files matched your search
@@ -30872,6 +30872,10 @@ wuffs_png__decoder__decode_frame(
|
||||
if (self->private_impl.f_workbuf_wi != self->private_impl.f_workbuf_length) {
|
||||
status = wuffs_base__make_status(wuffs_base__error__not_enough_data);
|
||||
goto exit;
|
||||
} else if (0 < ((uint64_t)(a_workbuf.len))) {
|
||||
if (a_workbuf.ptr[0] == 4) {
|
||||
a_workbuf.ptr[0] = 1;
|
||||
}
|
||||
}
|
||||
v_swizzler_status = wuffs_base__pixel_swizzler__prepare(&self->private_impl.f_swizzler,
|
||||
wuffs_base__pixel_buffer__pixel_format(a_dst),
|
||||
|
||||
Reference in new issue
Block a user