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 IWICPalette_InitializeCustom(pIPalette, colors, cm->ColorCount);
|
||||||
|
|
||||||
return S_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT copy_interlaced_pixels(const BYTE *srcbuffer,
|
static HRESULT copy_interlaced_pixels(const BYTE *srcbuffer,
|
||||||
|
|
Loading…
Reference in New Issue