Place the frame_config's pos before it not after

This commit is contained in:
Nigel Tao committed 2018-08-26 23:58:03 +10:00
1 parent 9c04249bfe
commit a34cc5311e
7 files changed
+73 -176

No files matched your search

@@ -665,8 +665,8 @@ wuffs_base__frame_config__index(wuffs_base__frame_config* c) {
return c ? c->private_impl.index : 0;
}
// wuffs_base__frame_config__io_position returns the I/O stream position after
// the frame config but before the frame's pixel data.
// wuffs_base__frame_config__io_position returns the I/O stream position before
// the frame config.
static inline uint64_t //
wuffs_base__frame_config__io_position(wuffs_base__frame_config* c) {
return c ? c->private_impl.io_position : 0;