Skip to content
Permalink
Browse files Browse the repository at this point in the history
...
  • Loading branch information
Cristy committed Dec 24, 2016
1 parent d23beeb commit 97566cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coders/ipl.c
Expand Up @@ -545,6 +545,8 @@ static MagickBooleanType WriteIPLImage(const ImageInfo *image_info,Image *image)
scene=0;

quantum_info=AcquireQuantumInfo(image_info, image);
if (quantum_info == (QuantumInfo *) NULL)
ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");
if ((quantum_info->format == UndefinedQuantumFormat) &&
(IsHighDynamicRangeImage(image,&image->exception) != MagickFalse))
SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat);
Expand Down

0 comments on commit 97566cf

Please sign in to comment.