mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Remove the testlib's global_palette_buffer
This commit is contained in:
1 parent
990463bdac
commit
2e804c8f20
2 files changed
+2
-4
No files matched your search
+2
-2
@@ -422,8 +422,8 @@ bool do_test_wuffs_gif_decode(const char* filename,
|
|||||||
wuffs_base__io_buffer pal_got = {.ptr = pal_got_slice.ptr,
|
wuffs_base__io_buffer pal_got = {.ptr = pal_got_slice.ptr,
|
||||||
.len = pal_got_slice.len,
|
.len = pal_got_slice.len,
|
||||||
.wi = pal_got_slice.len};
|
.wi = pal_got_slice.len};
|
||||||
wuffs_base__io_buffer pal_want = {.ptr = global_palette_buffer,
|
uint8_t pal_want_array[1024];
|
||||||
.len = 4 * 256};
|
wuffs_base__io_buffer pal_want = {.ptr = pal_want_array, .len = 1024};
|
||||||
if (!read_file(&pal_want, palette_filename)) {
|
if (!read_file(&pal_want, palette_filename)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#define BUFFER_SIZE (64 * 1024 * 1024)
|
#define BUFFER_SIZE (64 * 1024 * 1024)
|
||||||
#define PALETTE_BUFFER_SIZE (4 * 256)
|
|
||||||
|
|
||||||
#define WUFFS_TESTLIB_ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
#define WUFFS_TESTLIB_ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||||
|
|
||||||
@@ -29,7 +28,6 @@ uint8_t global_want_buffer[BUFFER_SIZE];
|
|||||||
uint8_t global_work_buffer[BUFFER_SIZE];
|
uint8_t global_work_buffer[BUFFER_SIZE];
|
||||||
uint8_t global_src_buffer[BUFFER_SIZE];
|
uint8_t global_src_buffer[BUFFER_SIZE];
|
||||||
uint8_t global_pixel_buffer[BUFFER_SIZE];
|
uint8_t global_pixel_buffer[BUFFER_SIZE];
|
||||||
uint8_t global_palette_buffer[PALETTE_BUFFER_SIZE];
|
|
||||||
|
|
||||||
char fail_msg[65536] = {0};
|
char fail_msg[65536] = {0};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user