mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Add a decode_frame_options type
This commit is contained in:
1 parent
8b1e023e6a
commit
555a72d7a9
10 files changed
+90
-43
No files matched your search
@@ -109,11 +109,12 @@ const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
|
||||
|
||||
bool seen_ok = false;
|
||||
while (true) {
|
||||
z = wuffs_gif__decoder__decode_frame(&dec, &pb, 0, 0, src_reader,
|
||||
z = wuffs_gif__decoder__decode_frame(&dec, &pb, src_reader,
|
||||
((wuffs_base__slice_u8){
|
||||
.ptr = workbuf,
|
||||
.len = workbuf_size,
|
||||
}));
|
||||
}),
|
||||
NULL);
|
||||
if (z) {
|
||||
if ((z != wuffs_base__warning__end_of_data) || !seen_ok) {
|
||||
ret = z;
|
||||
|
||||
Reference in new issue
Block a user