]> granicus.if.org Git - imagemagick/commitdiff
Call TIFFGetField instead of TIFFGetFieldDefaulted.
authordirk <dirk@git.imagemagick.org>
Mon, 10 Oct 2016 07:17:28 +0000 (09:17 +0200)
committerdirk <dirk@git.imagemagick.org>
Mon, 10 Oct 2016 07:17:28 +0000 (09:17 +0200)
coders/tiff.c

index 62d3e12e0effcbcc9effa5167d415543e58ec3fb..feffff277468ff1bf3c6ad734359340d954ed985 100644 (file)
@@ -1401,8 +1401,8 @@ RestoreMSCWarning
              horizontal,
              vertical;
 
-           tiff_status=TIFFGetFieldDefaulted(tiff,TIFFTAG_YCBCRSUBSAMPLING,
-             &horizontal,&vertical);
+           tiff_status=TIFFGetField(tiff,TIFFTAG_YCBCRSUBSAMPLING,&horizontal,
+             &vertical);
            if (tiff_status == 1)
              {
                (void) FormatLocaleString(sampling_factor,MagickPathExtent,