mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Add a std/gif decode_frame work_buffer arg
This commit is contained in:
1 parent
156cea5a70
commit
3d035df908
6 files changed
+23
-15
No files matched your search
@@ -261,7 +261,8 @@ const char* play() {
|
||||
}
|
||||
|
||||
while (1) {
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, &ib, src_reader);
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, &ib, src_reader,
|
||||
((wuffs_base__slice_u8){}));
|
||||
if (s) {
|
||||
if (s == WUFFS_BASE__SUSPENSION_END_OF_DATA) {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user