mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
snippet/uncompng: fix encode_apng return value
This commit is contained in:
1 parent
5f95a0d49a
commit
fbb65550ac
1 file changed
+2
-2
+2
-2
@@ -856,7 +856,7 @@ uncompng__encode_apng_header(int (*write_func)(void* context,
|
|||||||
int ret = (*write_func)(context, uncompng__private_impl_buffer, (size_t)ej);
|
int ret = (*write_func)(context, uncompng__private_impl_buffer, (size_t)ej);
|
||||||
|
|
||||||
concurrent = false;
|
concurrent = false;
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
UNCOMPNG__MAYBE_STATIC int //
|
UNCOMPNG__MAYBE_STATIC int //
|
||||||
@@ -922,7 +922,7 @@ uncompng__encode_apng_frame(int (*write_func)(void* context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
concurrent = false;
|
concurrent = false;
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UNCOMPNG_IMPLEMENTATION
|
#endif // UNCOMPNG_IMPLEMENTATION
|
||||||
|
|||||||
Reference in new issue
Block a user