Added patch to improve palette support in windowscodecs.dll.

This commit is contained in:
Sebastian Lackner
2016-09-28 17:55:15 +02:00
parent b3eb9ef535
commit 2bf9187a19
20 changed files with 2058 additions and 28 deletions

View File

@ -1,25 +0,0 @@
From 611e1f496ee05a60f29088df17289ae6de9fded0 Mon Sep 17 00:00:00 2001
From: Dmitry Timoshkov <dmitry@baikal.ru>
Date: Tue, 26 Jul 2016 16:28:08 +0800
Subject: windowscodecs: Return S_OK from PngFrameEncode_SetPalette.
---
dlls/windowscodecs/pngformat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c
index bb2aef9..b84e1e6 100644
--- a/dlls/windowscodecs/pngformat.c
+++ b/dlls/windowscodecs/pngformat.c
@@ -1539,7 +1539,7 @@ static HRESULT WINAPI PngFrameEncode_SetPalette(IWICBitmapFrameEncode *iface,
IWICPalette *pIPalette)
{
FIXME("(%p,%p): stub\n", iface, pIPalette);
- return WINCODEC_ERR_UNSUPPORTEDOPERATION;
+ return S_OK;
}
static HRESULT WINAPI PngFrameEncode_SetThumbnail(IWICBitmapFrameEncode *iface,
--
2.9.0