https://bugs.winehq.org/show_bug.cgi?id=38288
Bug ID: 38288 Summary: Wrong pointer in icnsformat.c IcnsFrameEncode_WriteSource Product: Wine Version: 1.7.39 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: windowscodecs Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru Distribution: ---
The function has parameters static HRESULT WINAPI IcnsFrameEncode_WriteSource(IWICBitmapFrameEncode *iface, IWICBitmapSource *pIBitmapSource, WICRect *prc)
and line 400 hr = configure_write_source(iface, pIBitmapSource, &prc, &GUID_WICPixelFormat32bppBGRA, This->size, This->size, 1.0, 1.0); pointer to prc is wrong. It must be hr = configure_write_source(iface, pIBitmapSource, prc, &GUID_WICPixelFormat32bppBGRA, This->size, This->size, 1.0, 1.0);