Dmitry Timoshkov : windowscodecs: Implement IWICBitmapDecoder:: CopyPalette in TIFF decoder.

Alexandre Julliard julliard at winehq.org
Thu Sep 14 14:50:08 CDT 2017


Module: wine
Branch: master
Commit: 730f2bd132cd9b71a6635022f48f9836f0858610
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=730f2bd132cd9b71a6635022f48f9836f0858610

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Sep 13 15:12:40 2017 -0500

windowscodecs: Implement IWICBitmapDecoder::CopyPalette in TIFF decoder.

Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/windowscodecs/tiffformat.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c
index b613409..d14a4b0 100644
--- a/dlls/windowscodecs/tiffformat.c
+++ b/dlls/windowscodecs/tiffformat.c
@@ -683,10 +683,10 @@ static HRESULT WINAPI TiffDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,
 }
 
 static HRESULT WINAPI TiffDecoder_CopyPalette(IWICBitmapDecoder *iface,
-    IWICPalette *pIPalette)
+    IWICPalette *palette)
 {
-    FIXME("(%p,%p): stub\n", iface, pIPalette);
-    return E_NOTIMPL;
+    TRACE("(%p,%p)\n", iface, palette);
+    return WINCODEC_ERR_PALETTEUNAVAILABLE;
 }
 
 static HRESULT WINAPI TiffDecoder_GetMetadataQueryReader(IWICBitmapDecoder *iface,




More information about the wine-cvs mailing list