This commit is contained in:
John Cupitt 2019-08-19 23:31:25 +01:00
parent 593b6f0d93
commit db49e82bda

View File

@ -700,7 +700,7 @@ vips_exif_set_double( ExifData *ed,
ExifSRational srv;
srv = exif_get_srational( entry->data + offset, bo );
if( rv.denominator == 0 )
if( srv.denominator == 0 )
old_value = 0;
else
old_value = (double) srv.numerator / srv.denominator;