From cc119b9464591a23adced3b1bd1cb70872bf0883 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 24 May 2018 04:06:26 +0000 Subject: [PATCH] gdiplus: Pass the correct GUID to encode_image_wic for GIF images. Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- dlls/gdiplus/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 9841857e636..5affe03428f 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -4567,7 +4567,7 @@ static GpStatus encode_image_jpeg(GpImage *image, IStream* stream, static GpStatus encode_image_gif(GpImage *image, IStream* stream, GDIPCONST EncoderParameters* params) { - return encode_image_wic(image, stream, &CLSID_WICGifEncoder, params); + return encode_image_wic(image, stream, &GUID_ContainerFormatGif, params); } /*****************************************************************************