From: dirk Date: Mon, 10 Oct 2016 07:17:28 +0000 (+0200) Subject: Call TIFFGetField instead of TIFFGetFieldDefaulted. X-Git-Tag: 7.0.3-4~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24b10b7a3e790918656bd346c2af712eb69249a3;p=imagemagick Call TIFFGetField instead of TIFFGetFieldDefaulted. --- diff --git a/coders/tiff.c b/coders/tiff.c index 62d3e12e0..feffff277 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -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,