Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Fix MSVC breakage in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
erouault committed Dec 27, 2015
1 parent b18012d commit eb06a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtiff/tif_next.c
Expand Up @@ -103,10 +103,10 @@ NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s)
}
default: {
uint32 npixels = 0, grey;
tmsize_t op_offset = 0;
uint32 imagewidth = tif->tif_dir.td_imagewidth;
if( isTiled(tif) )
imagewidth = tif->tif_dir.td_tilewidth;
tmsize_t op_offset = 0;

/*
* The scanline is composed of a sequence of constant
Expand Down

0 comments on commit eb06a7e

Please sign in to comment.