From: cristy Date: Sat, 20 Sep 2014 12:41:42 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1989 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82653b2861235718c69ff13d2ed0f7a2d4d8ae71;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index fab4ceb0a..3c56d0332 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -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)) {