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/pdfshow.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/pdfshow.c')
-rw-r--r-- | apps/pdfshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfshow.c b/apps/pdfshow.c index 85b78d29..ba2d51f6 100644 --- a/apps/pdfshow.c +++ b/apps/pdfshow.c @@ -141,7 +141,7 @@ int main(int argc, char **argv) if (fz_optind == argc) showusage(); - openxref(argv[fz_optind++], password, 0); + openxref(argv[fz_optind++], password, 0, 0); if (fz_optind == argc) showtrailer(); |