Vincent Povirk : windowscodecs: Implement GetFrameCount for PNG decoder.

Alexandre Julliard julliard at winehq.org
Fri Aug 28 10:17:55 CDT 2009


Module: wine
Branch: master
Commit: f62620432123573369edcd533e946eaaf550108d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f62620432123573369edcd533e946eaaf550108d

Author: Vincent Povirk <vincent at 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,




More information about the wine-cvs mailing list