Merge branch 'FILESOURCE_SCENETYPE_reading' into 'master'

Reading error for FileSource and SceneType tags corrected.

See merge request libtiff/libtiff!76
This commit is contained in:
Even Rouault 2019-05-06 19:32:13 +00:00
commit 2f8bd01315

View File

@ -206,6 +206,7 @@ static enum TIFFReadDirEntryErr TIFFReadDirEntryByte(TIFF* tif, TIFFDirEntry* di
switch (direntry->tdir_type)
{
case TIFF_BYTE:
case TIFF_UNDEFINED: /* Support to read TIFF_UNDEFINED with field_readcount==1 */
TIFFReadDirEntryCheckedByte(tif,direntry,value);
return(TIFFReadDirEntryErrOk);
case TIFF_SBYTE: