mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Index objects if Prev xref was not found
This commit is contained in:
parent
78b61fedfc
commit
98ebf57144
1 changed files with 2 additions and 0 deletions
|
@ -977,6 +977,8 @@ var XRef = (function XRefClosure() {
|
||||||
|
|
||||||
if (!dict)
|
if (!dict)
|
||||||
error('Failed to read XRef stream');
|
error('Failed to read XRef stream');
|
||||||
|
} else {
|
||||||
|
error('Invalid XRef stream header');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Recursively get previous dictionary, if any
|
// Recursively get previous dictionary, if any
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue