Merge branch 'issue-52' into 'master'
contrib/win_dib/tiff2dib: fix Uninitialized variable: lpBits Closes #52 See merge request libtiff/libtiff!121
This commit is contained in:
commit
ae054d59ae
@ -106,6 +106,8 @@ HDIB LoadTIFFinDIB(LPSTR lpFileName)
|
||||
|
||||
if (lpDIB)
|
||||
lpBits = FindDIBBits((LPSTR) lpDIB);
|
||||
else
|
||||
lpBits = NULL;
|
||||
|
||||
//In the tiff file the lines are save from up to down
|
||||
//In a DIB the lines must be save from down to up
|
||||
|
Loading…
Reference in New Issue
Block a user