mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 21:32:01 +00:00
windowscodecs: Take into account return value of IWICPalette_InitializeCustom().
This commit is contained in:
parent
a457978489
commit
36560f462b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user