pdf.js/test/pdfs/issue1877.pdf.link
Jonas Jenwald 13930e5202 Simplify the handling of unsupported/incorrect markers in src/core/jpg.js
- Re-factor the "incorrect encoding" check, since this can be easily achieved using the general `findNextFileMarker` helper function (with a suitable `startPos` argument).

 - Tweak a condition, to make it easier to see that the end of the data has been reached.

 - Add a reference test for issue 1877, since it's what prompted the "incorrect encoding" check.
2020-01-25 22:52:24 +01:00

2 lines
84 B
SYSTEMD

https://web.archive.org/web/20160313045333/http://brianmckenna.org/files/IC-Roy.pdf