| 4 extra bytes in STCIHeader structure[message #137198]
|
Mon, 30 April 2007 12:51
|
|
Trogdor |
Messages:2
Registered:February 2007 |
|
|
I noticed that cUnused in STCIHeader has 4 extra bytes.
The only reason why STI files are loaded correctly is because after each read comes a correct seek.
Is there any reason to keep those 4 bytes as it seems that their only purpose is to make the structure bigger?
Report message to a moderator
|
Civilian
|
|
|
|
|
|
| Re: 4 extra bytes in STCIHeader structure[message #137357]
|
Wed, 02 May 2007 11:36 
|
|
Trogdor |
Messages:2
Registered:February 2007 |
|
|
No, what I meant was that the structure exceeds the the header size in the sti files.
10 of the 14 cUnused bytes are present but the last 4 overlap with the palette data.
And STCI_HEADER_SIZE is 64 even thought the structure is actually 68 bytes with those 4 extra.
[Updated on: Wed, 02 May 2007 11:45] by Moderator Report message to a moderator
|
Civilian
|
|
|
|
|
|
|
|