From 6b3dd6dd807277a49ed495e8a07b12ddbee6028f Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 23 Mar 2019 09:32:35 +0100 Subject: [PATCH] The default number of iterations should be 1 instead of zero. --- coders/gif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/gif.c b/coders/gif.c index f849959cd..028890ec5 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1028,6 +1028,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) meta_image=AcquireImage(image_info,exception); /* metadata container */ meta_image->page.width=ReadBlobLSBShort(image); meta_image->page.height=ReadBlobLSBShort(image); + meta_image->iterations=1; flag=(unsigned char) ReadBlobByte(image); profiles=(LinkedListInfo *) NULL; background=(unsigned char) ReadBlobByte(image); -- 2.40.0