[PATCH] windowscodecs: Add missing source_bpp initialization (Valgrind).

Sven Baars sven.wine at gmail.com
Sun Feb 17 04:47:55 CST 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 dlls/windowscodecs/tiffformat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c
index 3d53b2439a..58cd04ef17 100644
--- a/dlls/windowscodecs/tiffformat.c
+++ b/dlls/windowscodecs/tiffformat.c
@@ -289,6 +289,7 @@ static HRESULT tiff_get_decode_info(TIFF *tiff, tiff_decode_info *decode_info)
     decode_info->reverse_bgr = 0;
     decode_info->invert_grayscale = 0;
     decode_info->tiled = 0;
+    decode_info->source_bpp = 0;
 
     ret = pTIFFGetField(tiff, TIFFTAG_PHOTOMETRIC, &photometric);
     if (!ret)
-- 
2.17.1




More information about the wine-devel mailing list