Index: dll/win32/windowscodecs/bmpdecode.c =================================================================== --- dll/win32/windowscodecs/bmpdecode.c (revision 51212) +++ dll/win32/windowscodecs/bmpdecode.c (working copy) @@ -185,7 +185,7 @@ { HRESULT hr; BmpDecoder *This = impl_from_frame(iface); - int count; + int count=0; WICColor *wiccolors=NULL; RGBTRIPLE *bgrcolors=NULL;