Fix aspect ratio logic in jpeg (#3500)
Fix aspect ratio logic in jpeg (#3500)

Typo, was checking XRes twice instead of XRes and YRes.
lgritz/oiio,OpenImageIO/oiio,lgritz/oiio,lgritz/oiio,OpenImageIO/oiio,lgritz/oiio,OpenImageIO/oiio,OpenImageIO/oiio