Gitweb links: ...log http://git.netsurf-browser.org/libnsgif.git/shortlog/cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 ...commit http://git.netsurf-browser.org/libnsgif.git/commit/cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 ...tree http://git.netsurf-browser.org/libnsgif.git/tree/cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6
The branch, master has been updated via cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 (commit) from 245bd38ecdb75340065f0a05e292828261a241a5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commitdiff http://git.netsurf-browser.org/libnsgif.git/commit/?id=cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 commit cc18507ae1ffe1753eb7dc66e26f9d8a9231cba6 Author: Michael Drake <t...@netsurf-browser.org> Commit: Michael Drake <t...@netsurf-browser.org> GIF: Remove unused helper function. 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. ----------------------------------------------------------------------- Summary of changes: src/gif.c | 12 ------------ 1 file changed, 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. -- NetSurf GIF Decoder _______________________________________________ netsurf-commits mailing list -- netsurf-commits@netsurf-browser.org To unsubscribe send an email to netsurf-commits-le...@netsurf-browser.org