summaryrefslogtreecommitdiff
path: root/gpdl/tifftop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpdl/tifftop.c')
-rw-r--r--gpdl/tifftop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gpdl/tifftop.c b/gpdl/tifftop.c
index 4321eb45e..584c3b58a 100644
--- a/gpdl/tifftop.c
+++ b/gpdl/tifftop.c
@@ -1022,8 +1022,6 @@ do_tiff_decode(tiff_interp_instance_t *tiff)
} else {
int span = tiff->raw_byte_width;
byte *in_row = tiff->samples;
- if (planar != PLANARCONFIG_SEPARATE)
- span /= tiff->raw_num_comps;
row = tiff->proc_samples;
for (s = 0; s < tiff->raw_num_comps; s++) {
plane_data[s].data = row;