mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-12-03 16:09:08 +01:00
Fixed EXIF altitude handling
This commit is contained in:
parent
e6cd7f8bfa
commit
010b983667
@ -77,7 +77,7 @@ double EXIFParser::altitude(TIFFFile &file, const IFDEntry &alt,
|
|||||||
return NAN;
|
return NAN;
|
||||||
|
|
||||||
return (altRef.type == TIFF_BYTE && altRef.count == 1 && altRef.offset)
|
return (altRef.type == TIFF_BYTE && altRef.count == 1 && altRef.offset)
|
||||||
? -num/(double)den : num/(double)den;
|
? -(num/(double)den) : num/(double)den;
|
||||||
}
|
}
|
||||||
|
|
||||||
double EXIFParser::coordinate(TIFFFile &file, const IFDEntry &ll) const
|
double EXIFParser::coordinate(TIFFFile &file, const IFDEntry &ll) const
|
||||||
|
Loading…
Reference in New Issue
Block a user