mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +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)
|
||||
error('Failed to read XRef stream');
|
||||
} else {
|
||||
error('Invalid XRef stream header');
|
||||
}
|
||||
|
||||
// Recursively get previous dictionary, if any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue