mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Add a call sequence concept
This commit is contained in:
1 parent
9a463d4675
commit
de9000cc70
10 files changed
+191
-72
No files matched your search
@@ -59,7 +59,11 @@ static const char* decode() {
|
||||
wuffs_gif__decoder dec;
|
||||
wuffs_gif__decoder__initialize(&dec, WUFFS_VERSION, 0);
|
||||
wuffs_gif__status s =
|
||||
wuffs_gif__decoder__decode(&dec, dst_writer, src_reader);
|
||||
wuffs_gif__decoder__decode_config(&dec, dst_writer, src_reader);
|
||||
if (s) {
|
||||
return wuffs_gif__status__string(s);
|
||||
}
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, dst_writer, src_reader);
|
||||
if (s) {
|
||||
return wuffs_gif__status__string(s);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user