mozilla/pdf.js — pull request #5508 by Snuffleupagus (2014-11-25 15:20:23+00:00)
Title: Refactor searching for the SOI marker of inline JPEG image streams

This patch refactors the approach used in PR #5286 to be more generic (and also let us remove one `TODO` from the codebase).