summaryrefslogtreecommitdiff
path: root/source/fitz/output-cbz.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/output-cbz.c')
-rw-r--r--source/fitz/output-cbz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/output-cbz.c b/source/fitz/output-cbz.c
index c7ab5805..55c28e77 100644
--- a/source/fitz/output-cbz.c
+++ b/source/fitz/output-cbz.c
@@ -40,7 +40,7 @@ cbz_end_page(fz_context *ctx, fz_document_writer *wri_, fz_device *dev)
fz_snprintf(name, sizeof name, "p%04d.png", wri->count);
- buffer = fz_new_buffer_from_pixmap_as_png(ctx, wri->pixmap);
+ buffer = fz_new_buffer_from_pixmap_as_png(ctx, wri->pixmap, NULL);
fz_try(ctx)
fz_write_zip_entry(ctx, wri->zip, name, buffer, 0);
fz_always(ctx)