[8/8] windowscodecs: Take into account return value of IWICPalette_InitializeCustom(). Resend.
Dmitry Timoshkov
dmitry at baikal.ru
Sun Sep 23 23:23:32 CDT 2012
---
dlls/windowscodecs/gifformat.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/windowscodecs/gifformat.c b/dlls/windowscodecs/gifformat.c
index 0594a86..78371b0 100644
--- a/dlls/windowscodecs/gifformat.c
+++ b/dlls/windowscodecs/gifformat.c
@@ -739,9 +739,7 @@ static HRESULT WINAPI GifFrameDecode_CopyPalette(IWICBitmapFrameDecode *iface,
}
}
- IWICPalette_InitializeCustom(pIPalette, colors, cm->ColorCount);
-
- return S_OK;
+ return IWICPalette_InitializeCustom(pIPalette, colors, cm->ColorCount);
}
static HRESULT copy_interlaced_pixels(const BYTE *srcbuffer,
--
1.7.12.1
More information about the wine-patches
mailing list