mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Remove the WUFFS_FOO__STATUS_ETC names
This commit is contained in:
1 parent
d770e879ab
commit
50a955317a
30 files changed
+214
-677
No files matched your search
@@ -263,7 +263,7 @@ const char* play() {
|
||||
while (1) {
|
||||
s = wuffs_gif__decoder__decode_frame(&dec, &ib, src_reader);
|
||||
if (s) {
|
||||
if (s == WUFFS_GIF__SUSPENSION_END_OF_DATA) {
|
||||
if (s == WUFFS_BASE__SUSPENSION_END_OF_DATA) {
|
||||
break;
|
||||
}
|
||||
return wuffs_gif__status__string(s);
|
||||
|
||||
+3
-3
@@ -90,13 +90,13 @@ static const char* decode() {
|
||||
ignore_return_value(write(stdout_fd, dst_buffer, dst.wi));
|
||||
}
|
||||
|
||||
if (s == WUFFS_GZIP__STATUS_OK) {
|
||||
if (s == WUFFS_BASE__STATUS_OK) {
|
||||
return NULL;
|
||||
}
|
||||
if (s == WUFFS_GZIP__SUSPENSION_SHORT_READ) {
|
||||
if (s == WUFFS_BASE__SUSPENSION_SHORT_READ) {
|
||||
break;
|
||||
}
|
||||
if (s != WUFFS_GZIP__SUSPENSION_SHORT_WRITE) {
|
||||
if (s != WUFFS_BASE__SUSPENSION_SHORT_WRITE) {
|
||||
return wuffs_gzip__status__string(s);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user