]> git.eshelyaron.com Git - emacs.git/commit
Fix WebP image support on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sun, 10 Apr 2022 13:45:43 +0000 (16:45 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 10 Apr 2022 13:45:43 +0000 (16:45 +0300)
commit8addfafc2afac21e34d320524a80567f80926069
tree1106e3ef1d9a9651d2926d90e3060b1800a15698
parenta64e5a3a847407200e0dc44b6acb60bdbede9080
Fix WebP image support on MS-Windows

* src/image.c (init_webp_functions) [WINDOWSNT]: Load Demux
functions from the WebPDemux DLL.  Load internal functions where
the public APIs are inline functions defined in the WebP headers.
(WebPAnimDecoderOptionsInit) [WINDOWSNT]: Define to call
'WebPAnimDecoderOptionsInitInternal'.
(WebPDemux): Define to call 'WebPDemuxInternal'.
(WebPAnimDecoderNew): Define to call
'WebPAnimDecoderNewInternal'.
(syms_of_image) <webpdemux>: New symbol.

* lisp/term/w32-win.el (dynamic-library-alist): Add a member for
'webpdemux'.
lisp/term/w32-win.el
src/image.c