lib/uncompng: rearrange Encode argument order

This commit is contained in:
Nigel Tao committed 2026-08-11 09:52:32 +10:00
1 parent 1230506e7c
commit e772ccd47a
4 files changed
+21 -21

No files matched your search

+2 -2
View File
@@ -804,10 +804,10 @@ print_uncompressed_png_frame() {
uint32_t h = wuffs_base__pixel_config__height(&g_pixbuf.pixcfg);
wuffs_base__table_u8 tab = wuffs_base__pixel_buffer__plane(&g_pixbuf, 0);
return UNCOMPNG__RESULT__OK ==
uncompng__encode(&my_uncompng_write_func, NULL, tab.ptr,
uncompng__encode(&my_uncompng_write_func, NULL, pixfmt, w, h, tab.ptr,
wuffs_base__table__flattened_length(
tab.width, tab.height, tab.stride),
w, h, tab.stride, pixfmt);
tab.stride);
}
void //