mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Raise example/crc32's buffer size from 16K to 32K
This matches the 32K buffer size used by https://github.com/redhotpenguin/perl-Archive-Zip/blob/master/script/crc32 as shipped as /usr/bin/crc32 on Debian
This commit is contained in:
1 parent
8cfb2cc6eb
commit
13d2814519
1 file changed
+1
-1
@@ -37,7 +37,7 @@ for a C++ compiler $CXX, such as clang++ or g++.
|
|||||||
#include "../../gen/c/std/crc32.c"
|
#include "../../gen/c/std/crc32.c"
|
||||||
|
|
||||||
#ifndef SRC_BUFFER_SIZE
|
#ifndef SRC_BUFFER_SIZE
|
||||||
#define SRC_BUFFER_SIZE (16 * 1024)
|
#define SRC_BUFFER_SIZE (32 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8_t src_buffer[SRC_BUFFER_SIZE];
|
uint8_t src_buffer[SRC_BUFFER_SIZE];
|
||||||
|
|||||||
Reference in new issue
Block a user