Commit 36560f46 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

windowscodecs: Take into account return value of IWICPalette_InitializeCustom().

parent a4579784
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment