[BUG #7479] fixed scanning for start-of-frame segments in Jpeg