mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
lib/uncompng: rearrange Encode argument order
This commit is contained in:
1 parent
1230506e7c
commit
e772ccd47a
4 files changed
+21
-21
No files matched your search
@@ -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 //
|
||||
|
||||
Reference in new issue
Block a user