summaryrefslogtreecommitdiff
path: root/pdf/pdf_stream.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-02-06 16:10:07 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-02-06 16:10:07 +0100
commit5cd45b68ad936006f3783abbcc064658d5e3508a (patch)
tree8abc09eada6f28b68194b13c269707d8ed6b4161 /pdf/pdf_stream.c
parent499c0e9b6d7a7ea537b90b33af2b3d655102a597 (diff)
downloadmupdf-5cd45b68ad936006f3783abbcc064658d5e3508a.tar.xz
Pass context to cmap and font descriptor functions.
Diffstat (limited to 'pdf/pdf_stream.c')
-rw-r--r--pdf/pdf_stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_stream.c b/pdf/pdf_stream.c
index 322fe3b7..3db8eb1c 100644
--- a/pdf/pdf_stream.c
+++ b/pdf/pdf_stream.c
@@ -233,7 +233,7 @@ pdf_open_filter(fz_stream *chain, pdf_document *xref, fz_obj *stmobj, int num, i
* constraining to stream length, and without decryption.
*/
fz_stream *
-pdf_open_inline_stream(fz_stream *chain, pdf_document *xref, fz_obj *stmobj, int length)
+pdf_open_inline_stream(pdf_document *xref, fz_obj *stmobj, int length, fz_stream *chain)
{
fz_obj *filters;
fz_obj *params;
@@ -308,7 +308,7 @@ pdf_open_stream(pdf_document *xref, int num, int gen)
}
fz_stream *
-pdf_open_stream_at(pdf_document *xref, int num, int gen, fz_obj *dict, int stm_ofs)
+pdf_open_stream_with_offset(pdf_document *xref, int num, int gen, fz_obj *dict, int stm_ofs)
{
fz_stream *stm;