mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 00:52:18 +01:00
Let the zlib decoder ignore the checksum
This commit is contained in:
1 parent
fdceee4bd0
commit
446d4662db
4 files changed
+69
-26
No files matched your search
@@ -441,6 +441,7 @@ typedef struct {
|
||||
|
||||
wuffs_deflate__decoder f_flate;
|
||||
wuffs_zlib__adler32 f_adler;
|
||||
bool f_ignore_checksum;
|
||||
|
||||
struct {
|
||||
uint32_t coro_susp_point;
|
||||
@@ -465,6 +466,9 @@ void wuffs_zlib__decoder__initialize(wuffs_zlib__decoder* self,
|
||||
|
||||
// ---------------- Public Function Prototypes
|
||||
|
||||
void wuffs_zlib__decoder__set_ignore_checksum(wuffs_zlib__decoder* self,
|
||||
bool a_ic);
|
||||
|
||||
wuffs_zlib__status wuffs_zlib__decoder__decode(wuffs_zlib__decoder* self,
|
||||
wuffs_base__writer1 a_dst,
|
||||
wuffs_base__reader1 a_src);
|
||||
|
||||
Reference in new issue
Block a user