Use _TIFFGetExifFieldInfo() instead of _TIFFGetFieldInfo() in
TIFFReadEXIFDirectory() call as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1026
This commit is contained in:
parent
f714980a3d
commit
4fab684de1
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tif_dirread.c,v 1.73 2005-12-26 14:31:25 dron Exp $ */
|
/* $Id: tif_dirread.c,v 1.74 2006-02-03 13:25:59 dron Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988-1997 Sam Leffler
|
* Copyright (c) 1988-1997 Sam Leffler
|
||||||
@ -852,7 +852,7 @@ TIFFReadEXIFDirectory(TIFF* tif, toff_t diroff)
|
|||||||
{
|
{
|
||||||
size_t exifFieldInfoCount;
|
size_t exifFieldInfoCount;
|
||||||
const TIFFFieldInfo *exifFieldInfo =
|
const TIFFFieldInfo *exifFieldInfo =
|
||||||
_TIFFGetFieldInfo(&exifFieldInfoCount);
|
_TIFFGetExifFieldInfo(&exifFieldInfoCount);
|
||||||
return TIFFReadCustomDirectory(tif, diroff, exifFieldInfo,
|
return TIFFReadCustomDirectory(tif, diroff, exifFieldInfo,
|
||||||
exifFieldInfoCount);
|
exifFieldInfoCount);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user