mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +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
@@ -356,11 +356,12 @@ const char* play() {
|
||||
}
|
||||
}
|
||||
|
||||
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 = work_buffer,
|
||||
.len = work_len,
|
||||
}));
|
||||
}),
|
||||
NULL);
|
||||
if (z) {
|
||||
if (z == wuffs_base__warning__end_of_data) {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user