Changed readcount so that _TIFFSetGetType can identify the type

This commit is contained in:
Andrew Murray 2020-12-30 11:57:05 +11:00
parent 8dd5913428
commit 6b21a96578

View File

@ -578,7 +578,7 @@ int ImagingLibTiffMergeFieldInfo(ImagingCodecState state, TIFFDataType field_typ
// custom fields added with ImagingLibTiffMergeFieldInfo are only used for
// decoding, ignore readcount;
int readcount = 0;
int readcount = 1;
// we support writing a single value, or a variable number of values
int writecount = 1;
// whether the first value should encode the number of values.