]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 20 Sep 2014 12:41:42 +0000 (12:41 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 20 Sep 2014 12:41:42 +0000 (12:41 +0000)
coders/tiff.c

index fab4ceb0a0422c8d74afdbfbeb9e76d9f53dfd97..3c56d0332d08510ea6ecb4e2c65461258cfd93f8 100644 (file)
@@ -3123,25 +3123,7 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info,
                 }
           }
       }
-    switch (image->endian)
-    {
-      case LSBEndian:
-      {
-        endian=FILLORDER_LSB2MSB;
-        break;
-      }
-      case MSBEndian:
-      {
-        endian=FILLORDER_MSB2LSB;
-        break;
-      }
-      case UndefinedEndian:
-      default:
-      {
-        (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_FILLORDER,&endian);
-        break;
-      }
-    }
+    (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_FILLORDER,&endian);
     if ((compress_tag == COMPRESSION_CCITTFAX3) &&
         (photometric != PHOTOMETRIC_MINISWHITE))
       {