Vincent Povirk : windowscodecs: Implement GetContainerFormat for the GIF decoder.

Alexandre Julliard julliard at winehq.org
Wed Aug 19 11:31:34 CDT 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Mon Aug 17 13:23:12 2009 -0500

windowscodecs: Implement GetContainerFormat for the GIF decoder.

---

 dlls/windowscodecs/gifformat.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/gifformat.c b/dlls/windowscodecs/gifformat.c
index 9f998d8..a09f2ff 100644
--- a/dlls/windowscodecs/gifformat.c
+++ b/dlls/windowscodecs/gifformat.c
@@ -369,8 +369,8 @@ static HRESULT WINAPI GifDecoder_Initialize(IWICBitmapDecoder *iface, IStream *p
 static HRESULT WINAPI GifDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
     GUID *pguidContainerFormat)
 {
-    FIXME("(%p,%s): stub\n", iface, debugstr_guid(pguidContainerFormat));
-    return E_NOTIMPL;
+    memcpy(pguidContainerFormat, &GUID_ContainerFormatGif, sizeof(GUID));
+    return S_OK;
 }
 
 static HRESULT WINAPI GifDecoder_GetDecoderInfo(IWICBitmapDecoder *iface,




More information about the wine-cvs mailing list