Skip to content

Commit 5176386

Browse files
committed
fix spng_get_splt()
1 parent 9f79ea0 commit 5176386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spng/spng.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3770,7 +3770,7 @@ int spng_get_splt(spng_ctx *ctx, struct spng_splt *splt, uint32_t *n_splt)
37703770

37713771
if(*n_splt < ctx->n_splt) return 1;
37723772

3773-
memcpy(splt, &ctx->splt_list, ctx->n_splt * sizeof(struct spng_splt));
3773+
memcpy(splt, ctx->splt_list, ctx->n_splt * sizeof(struct spng_splt));
37743774

37753775
return 0;
37763776
}

0 commit comments

Comments
 (0)