mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Remove unused base.io_writer arg
This commit is contained in:
1 parent
c5362d6413
commit
5badfef313
6 files changed
+20
-57
No files matched your search
@@ -277,11 +277,7 @@ const char* play() {
|
||||
|
||||
bool first_frame = true;
|
||||
for (;; first_frame = false) {
|
||||
wuffs_base__io_buffer dst = {.ptr = dst_buffer, .len = dst_len};
|
||||
wuffs_base__io_writer dst_writer = wuffs_base__io_buffer__writer(&dst);
|
||||
// TODO: provide API and support for when the frame rect is different from
|
||||
// the image rect.
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, &ib, dst_writer, src_reader);
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, &ib, src_reader);
|
||||
if (s) {
|
||||
if (s == WUFFS_GIF__SUSPENSION_END_OF_DATA) {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user