diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-06-21 16:23:32 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-06-21 16:23:32 +0200 |
commit | 17d2a8b03562410e644d55c0452c63c142d9b333 (patch) | |
tree | c19113375ac1bdd9c659cda40c1497e013990111 /apps/pdfclean.c | |
parent | 1f36f832e475ea995e978b1d12998dc3071d8410 (diff) | |
download | mupdf-17d2a8b03562410e644d55c0452c63c142d9b333.tar.xz |
Preload page tree into an array to avoid unnecessary linear searching when looking for a given page.
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r-- | apps/pdfclean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c index a6cf402c..021eb2bc 100644 --- a/apps/pdfclean.c +++ b/apps/pdfclean.c @@ -295,7 +295,7 @@ int main(int argc, char **argv) if (argc - fz_optind > 0) subset = 1; - openxref(infile, password, 0); + openxref(infile, password, 0, 0); out = fopen(outfile, "wb"); if (!out) |