Changes comparing to old version of this patch: return S_OK in GetFrame instead of a error code.
Signed-off-by: Ziqing Hui zhui@codeweavers.com --- dlls/windowscodecs/ddsformat.c | 155 ++++++++++++++++++++++++++++++++- 1 file changed, 153 insertions(+), 2 deletions(-)
+ hr = DdsFrameDecode_CreateInstance(&frame_decode); + if (hr == S_OK) *ppIBitmapFrame = &frame_decode->IWICBitmapFrameDecode_iface; + + return S_OK;
I think this should return hr.