aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/types/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types/output.c b/src/types/output.c
index cc2c52b..1745f90 100644
--- a/src/types/output.c
+++ b/src/types/output.c
@@ -253,6 +253,7 @@ size_t output_unmarshal(struct output* restrict this, const void* restrict buf)
this->name = memdup(bs + off, n);
if (this->name == NULL)
return 0;
+ off += n;
this->saved_ramps.u8.red_size = this->red_size;
this->saved_ramps.u8.green_size = this->green_size;