Module: wine Branch: stable Commit: fc0f5548e721143276f67b70e8bd8ceb25cc6ff6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=fc0f5548e721143276f67b70e...
Author: Sven Baars sven.wine@gmail.com Date: Sun Feb 17 11:47:55 2019 +0100
windowscodecs: Add missing source_bpp initialization (Valgrind).
Signed-off-by: Sven Baars sven.wine@gmail.com Signed-off-by: Vincent Povirk vincent@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit 1d8882e04be101f5c7773a84d2059353ca768a1f) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/windowscodecs/tiffformat.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/windowscodecs/tiffformat.c b/dlls/windowscodecs/tiffformat.c index 3d53b24..58cd04e 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)