mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Add a base.image_buffer arg to decode_frame
This commit is contained in:
1 parent
33ca57b553
commit
2301c763c3
9 files changed
+59
-35
No files matched your search
@@ -87,7 +87,7 @@ const char* fuzz(wuffs_base__io_reader src_reader, uint32_t hash) {
|
||||
// and will not e.g. write past the buffer bounds. But the Wuffs GIF API
|
||||
// should somehow pass a subset of pixbuf to decode_frame.
|
||||
dst.wi = 0;
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, dst_writer, src_reader);
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, &ib, dst_writer, src_reader);
|
||||
if (s) {
|
||||
if ((s == WUFFS_GIF__SUSPENSION_END_OF_DATA) && seen_ok) {
|
||||
s = WUFFS_GIF__STATUS_OK;
|
||||
|
||||
Reference in new issue
Block a user