Dmitry Timoshkov <dmi...@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
julli...@winehq.org


Reply via email to