Module: wine Branch: master Commit: f62620432123573369edcd533e946eaaf550108d URL: http://source.winehq.org/git/wine.git/?a=commit;h=f62620432123573369edcd533e...
Author: Vincent Povirk vincent@codeweavers.com Date: Thu Aug 13 17:02:19 2009 -0500
windowscodecs: Implement GetFrameCount 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 8fa4a47..864a5bd 100644 --- a/dlls/windowscodecs/pngformat.c +++ b/dlls/windowscodecs/pngformat.c @@ -182,8 +182,8 @@ static HRESULT WINAPI PngDecoder_GetThumbnail(IWICBitmapDecoder *iface, static HRESULT WINAPI PngDecoder_GetFrameCount(IWICBitmapDecoder *iface, UINT *pCount) { - FIXME("(%p,%p): stub\n", iface, pCount); - return E_NOTIMPL; + *pCount = 1; + return S_OK; }
static HRESULT WINAPI PngDecoder_GetFrame(IWICBitmapDecoder *iface,