jpegsize of 0 should be treated, I think, the same as "end of file". It's
probably a corrupt file anyhow if jpegsize ends up being 0.
Authored by: sms00 2008-01-05
Parent: [r3209]
Child: [r3211]