From bac08607fe3e0d4e784719104042ae1a785aa869 Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 4 Dec 2014 00:20:25 +0000 Subject: [PATCH] --- coders/sun.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/coders/sun.c b/coders/sun.c index 3a7d515bb..a00d16c1c 100644 --- a/coders/sun.c +++ b/coders/sun.c @@ -534,8 +534,6 @@ static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) bytes_per_pixel=3; if (image->alpha_trait == BlendPixelTrait) bytes_per_pixel++; - if (bytes_per_line == 0) - bytes_per_line=bytes_per_pixel*image->columns; length=image->rows*((bytes_per_line*image->columns)+ image->columns % 2); if (((sun_info.type == RT_ENCODED) && -- 2.40.0