From cb7f357b58c85bc089221060aa57a6c4ea5e9c06 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 3 Nov 2022 16:14:15 +0000 Subject: GIF: Constify gif structure through next frame getters --- src/gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gif.c b/src/gif.c index d2b6054..a5c44ee 100644 --- a/src/gif.c +++ b/src/gif.c @@ -1757,7 +1757,7 @@ static void nsgif__redraw_rect_extend( } static uint32_t nsgif__frame_next( - nsgif_t *gif, + const nsgif_t *gif, bool partial, uint32_t frame) { @@ -1774,7 +1774,7 @@ static uint32_t nsgif__frame_next( } static nsgif_error nsgif__next_displayable_frame( - nsgif_t *gif, + const nsgif_t *gif, uint32_t *frame, uint32_t *delay) { -- cgit v1.2.3