Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1560
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Apr 28, 2019
1 parent 7b04c53 commit a903bb5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions coders/tiff.c
Expand Up @@ -4307,13 +4307,15 @@ RestoreMSCWarning
if (image->colorspace == LabColorspace)
DecodeLabImage(image,exception);
DestroyTIFFInfo(&tiff_info);
if (exception->severity > ErrorException)
break;
DisableMSCWarning(4127)
if (0 && (image_info->verbose != MagickFalse))
RestoreMSCWarning
TIFFPrintDirectory(tiff,stdout,MagickFalse);
(void) TIFFWriteDirectory(tiff);
if (TIFFWriteDirectory(tiff) == 0)
{
status=MagickFalse;
break;
}
image=SyncNextImageInList(image);
if (image == (Image *) NULL)
break;
Expand All @@ -4322,6 +4324,6 @@ RestoreMSCWarning
break;
} while (adjoin != MagickFalse);
TIFFClose(tiff);
return(exception->severity > ErrorException ? MagickFalse : MagickTrue);
return(status);
}
#endif

0 comments on commit a903bb5

Please sign in to comment.