Refactor searching for the SOI marker of inline JPEG image streams
Merge pull request #5508 from Snuffleupagus/jpeg-stream-find-soi

Refactor searching for the SOI marker of inline JPEG image streams