Module: wine Branch: master Commit: 36560f462bb5233ae798df83c70ec8cf1d9247c4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=36560f462bb5233ae798df83c7...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Sep 24 13:23:32 2012 +0900
windowscodecs: Take into account return value of IWICPalette_InitializeCustom().
---
dlls/windowscodecs/gifformat.c | 4 +--- 1 files changed, 1 insertions(+), 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,