Skip to content

Commit

Permalink
Corrected patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 11, 2025
1 parent c99cbc8 commit dfa1270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/miff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info,
if (quantum_format != UndefinedQuantumFormat)
{
status=SetQuantumFormat(image,quantum_info,quantum_format);
image->depth=GetImageQuantumDepth(image,MagickFalse);
image->depth=quantum_info->depth;
if (status == MagickFalse)
ThrowMIFFException(ResourceLimitError,"MemoryAllocationFailed");
}
Expand Down

0 comments on commit dfa1270

Please sign in to comment.