14 Jun
2012
14 Jun
'12
12:34 p.m.
Dmitry Timoshkov <dmitry(a)baikal.ru> writes:
@@ -650,30 +672,43 @@ static HRESULT load_IFD_entry(IStream *input, const struct IFD_entry *entry, SWAP_ULONG(count); type = entry->type; SWAP_USHORT(type); + item->value.vt = tag_to_vt(type); value = entry->value; SWAP_ULONG(value);
switch (type) { + case IFD_BYTE: + case IFD_SBYTE: + if (count == 1) + { + item->value.u.bVal = *(BYTE *)&value; + break; + } + FIXME("loading multiple byte fields is not implemented\n"); + break;
This seems to contradict the endianness support. Are you really supposed to byte-swap arrays of bytes? -- Alexandre Julliard julliard(a)winehq.org