Rename work_buffer_size to workbuf_len

This commit is contained in:
Nigel Tao committed 2018-09-08 09:06:56 +10:00
1 parent ca940b0c56
commit fbbdc412d1
8 files changed
+95 -104

No files matched your search

+1 -2
View File
@@ -252,8 +252,7 @@ const char* allocate(wuffs_base__image_config* ic) {
return "could not allocate image buffer";
}
uint64_t work_len_u64 =
wuffs_base__image_config__work_buffer_size(ic).max_incl;
uint64_t work_len_u64 = wuffs_base__image_config__workbuf_len(ic).max_incl;
if (work_len_u64 <= SIZE_MAX) {
work_buffer = malloc(work_len_u64);
work_len = work_len_u64;