aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-06-24 14:20:40 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-06-24 14:36:25 +0200
commitbbfa2344d6ec955b5483d59dceed2f656ca3ee5d (patch)
treefc00bcb2693d42ba8d81cc236ab6ef30bef797c0
parent2ff853b7e0279d172f02a88056402a0d9fa31b58 (diff)
downloadfiv-bbfa2344d6ec955b5483d59dceed2f656ca3ee5d.tar.gz
fiv-bbfa2344d6ec955b5483d59dceed2f656ca3ee5d.tar.xz
fiv-bbfa2344d6ec955b5483d59dceed2f656ca3ee5d.zip
Fix colour management in animations
Bug introduced in d6e79cf.
-rw-r--r--fiv-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fiv-io.c b/fiv-io.c
index a685024..1f8cc12 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -499,7 +499,7 @@ fiv_io_profile_page(FivIoImage *page, FivIoProfile target,
// TODO(p): All animations need to be composited in a linear colour space.
for (FivIoImage *frame = page; frame != NULL; frame = frame->frame_next)
- frame_cb(page, source, target);
+ frame_cb(frame, source, target);
if (source)
fiv_io_profile_free(source);