summaryrefslogtreecommitdiff
path: root/source/fitz/load-gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/load-gif.c')
-rw-r--r--source/fitz/load-gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-gif.c b/source/fitz/load-gif.c
index 02c153f0..d31dee09 100644
--- a/source/fitz/load-gif.c
+++ b/source/fitz/load-gif.c
@@ -401,7 +401,7 @@ gif_read_image(fz_context *ctx, struct info *info, unsigned char *p, int total,
if (only_metadata)
return NULL;
- pix = fz_new_pixmap(ctx, fz_device_rgb(ctx), info->width, info->height);
+ pix = fz_new_pixmap(ctx, fz_device_rgb(ctx), info->width, info->height, 1);
fz_try(ctx)
{