Module: wine Branch: master Commit: 25f3802b369ed8a3f003fa922241a9868a80740c URL: http://source.winehq.org/git/wine.git/?a=commit;h=25f3802b369ed8a3f003fa9222...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Aug 13 17:01:42 2009 -0500
windowscodecs: Implement GetContainerFormat for PNG decoder.
---
dlls/windowscodecs/pngformat.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/pngformat.c b/dlls/windowscodecs/pngformat.c index 47dfd72..8fa4a47 100644 --- a/dlls/windowscodecs/pngformat.c +++ b/dlls/windowscodecs/pngformat.c @@ -133,8 +133,8 @@ static HRESULT WINAPI PngDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p static HRESULT WINAPI PngDecoder_GetContainerFormat(IWICBitmapDecoder *iface, GUID *pguidContainerFormat) { - FIXME("(%p,%p): stub\n", iface, pguidContainerFormat); - return E_NOTIMPL; + memcpy(pguidContainerFormat, &GUID_ContainerFormatPng, sizeof(GUID)); + return S_OK; }
static HRESULT WINAPI PngDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,