diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-30 11:57:31 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-30 11:57:31 +0000 |
commit | 4f49317deff939df854a8d9fecd7502cf2b4c9b2 (patch) | |
tree | 58f3b921bb557572a7c7931b91a30a8e7a539d6e /fitz/fitz.h | |
parent | 39ebb88a7bed4d0963895debb80a7462530e4c91 (diff) | |
download | mupdf-4f49317deff939df854a8d9fecd7502cf2b4c9b2.tar.xz |
Make an educated guess at the stream length by looking at the filters used in pdf_loadstream.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r-- | fitz/fitz.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h index 1af70f6a..44f1c070 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -501,7 +501,7 @@ void fz_seek(fz_stream *stm, int offset, int whence); int fz_read(fz_stream *stm, unsigned char *buf, int len); void fz_readline(fz_stream *stm, char *buf, int max); -fz_error fz_readall(fz_buffer **bufp, fz_stream *stm); +fz_error fz_readall(fz_buffer **bufp, fz_stream *stm, int initial); static inline int fz_readbyte(fz_stream *stm) { |