Update jpginfo.php

Optimized SOF record read and minor edits