summaryrefslogtreecommitdiff
path: root/src/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gif.c')
-rw-r--r--src/gif.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gif.c b/src/gif.c
index 4966677..84df50e 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -591,18 +591,6 @@ static inline nsgif_error nsgif__decode(
}
/**
- * Helper to assign a gif background colour array from a pixel representation.
- *
- * \param[in] px The pixel colour to read from.
- * \param[out] bg The background colour to write.
- */
-static inline void nsgif__gif_px_to_bg(
- const uint32_t *px, uint8_t bg[4])
-{
- *(uint32_t *)bg = *px;
-}
-
-/**
* Restore a GIF to the background colour.
*
* \param[in] gif The gif object we're decoding.