]> git.eshelyaron.com Git - emacs.git/commit
Refactor the webp cache code to allow usage by gif_load, too
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Apr 2022 11:35:45 +0000 (13:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Apr 2022 11:35:56 +0000 (13:35 +0200)
commit5141234acf85fe232adcaa3b0278f7766eb0d250
treed46352aaa3261faa70db2b5ad75bfa385393cdb1
parent07ee24d83debfeb0570a596fa27e7203bf55a4b3
Refactor the webp cache code to allow usage by gif_load, too

* src/image.c (struct anim_cache, anim_create_cache)
(anim_prune_animation_cache, anim_get_animation_cache): Rename
from webp_cache (etc) to prepare for usage in the gif animation
implementation, too.
(webp_load): Adjust cache usage.
src/image.c