summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-11-03 16:14:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-11-04 11:28:42 +0000
commitcb7f357b58c85bc089221060aa57a6c4ea5e9c06 (patch)
tree86d594ffb5c987a65a12a416fcc67685cd24b605
parenta1c436270011cb3770f3d74bf08347289feb1273 (diff)
downloadlibnsgif-cb7f357b58c85bc089221060aa57a6c4ea5e9c06.tar.gz
libnsgif-cb7f357b58c85bc089221060aa57a6c4ea5e9c06.tar.bz2
GIF: Constify gif structure through next frame getters
-rw-r--r--src/gif.c4
1 files changed, 2 insertions, 2 deletions
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)
{