Skip to content

Commit

Permalink
Corrected setting delay.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 3, 2022
1 parent dd65574 commit bd7f6d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions magick/constitute.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,7 @@ MagickExport Image *ReadImage(const ImageInfo *image_info,
if ((flags & LessValue) != 0)
{
if (next->delay < (size_t) floor(geometry_info.rho+0.5))
next->ticks_per_second=CastDoubleToLong(floor(
geometry_info.sigma+0.5));
next->delay=(size_t) floor(geometry_info.rho+0.5);
}
else
next->delay=(size_t) floor(geometry_info.rho+0.5);
Expand Down

0 comments on commit bd7f6d7

Please sign in to comment.