diff options
Diffstat (limited to 'source/cbz/muimg.c')
-rw-r--r-- | source/cbz/muimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c index fb075307..c03c237d 100644 --- a/source/cbz/muimg.c +++ b/source/cbz/muimg.c @@ -150,7 +150,7 @@ img_open_document_with_stream(fz_context *ctx, fz_stream *file) size_t len; unsigned char *data; - doc->buffer = fz_read_all(ctx, file, 1024); + doc->buffer = fz_read_all(ctx, file, 0); len = fz_buffer_storage(ctx, doc->buffer, &data); fmt = FZ_IMAGE_UNKNOWN; |