We are reading LE data even on BE system

svn-id: r20551
This commit is contained in:
Chris Apers 2006-02-11 17:14:06 +00:00
parent f17ee19004
commit fc556b789a

View File

@ -65,7 +65,7 @@ void AnimationSequence::decodeFrame(byte *&pPixels, byte *&pLines) {
// Get line length
len = (uint16) *pLines++;
if (len == 0) {
len = *((uint16 *) pLines);
len = READ_LE_UINT16(pLines);
pLines += 2;
}
@ -78,7 +78,7 @@ void AnimationSequence::decodeFrame(byte *&pPixels, byte *&pLines) {
// Get the offset inc amount
len = (uint16) *pLines++;
if (len == 0) {
len = *((uint16 *) pLines);
len = READ_LE_UINT16(pLines);
pLines += 2;
}