summaryrefslogtreecommitdiff
path: root/lisp/term/w32-win.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-04-10 16:45:43 +0300
committerEli Zaretskii <eliz@gnu.org>2022-04-10 16:45:43 +0300
commit8addfafc2afac21e34d320524a80567f80926069 (patch)
tree1106e3ef1d9a9651d2926d90e3060b1800a15698 /lisp/term/w32-win.el
parenta64e5a3a847407200e0dc44b6acb60bdbede9080 (diff)
downloademacs-8addfafc2afac21e34d320524a80567f80926069.tar.gz
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'.
Diffstat (limited to 'lisp/term/w32-win.el')
-rw-r--r--lisp/term/w32-win.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 4ed01de9aef..7eaa6047763 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -275,6 +275,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
'(gif "libgif-5.dll" "giflib4.dll" "libungif4.dll" "libungif.dll")))
'(svg "librsvg-2-2.dll")
'(webp "libwebp-7.dll" "libwebp.dll")
+ '(webpdemux "libwebpdemux-2.dll" "libwebpdemux.dll")
'(sqlite3 "libsqlite3-0.dll")
'(gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
'(glib "libglib-2.0-0.dll")