forked from mozilla/pdf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For JPX decoding only read next packet after checking for byte aligning.
This patch makes the image from mozilla#5349 appear correctly, the artefacts for the last packet are fixed in mozilla#5426. This patch also optimizes some "in-checks" and adds a few header parsings.
- Loading branch information
1 parent
8539cd6
commit b2d7c28
Showing
1 changed file
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters