port eet fix to efl tree

SVN revision: 76944
This commit is contained in:
Carsten Haitzler 2012-09-21 08:43:49 +00:00
parent 9507c20a53
commit be48742a4e
3 changed files with 12 additions and 2 deletions

View File

@ -627,3 +627,7 @@
2012-08-30 Carsten Haitzler (The Rasterman)
1.7.0 release
2012-09-21 Carsten Haitzler (The Rasterman)
* Fix big endian bug with eet image handling and endianess swapping.

View File

@ -1,4 +1,10 @@
Eet 1.7.0
Eet 1.7.1
Changes since Eet 1.7.0:
--------------------------
Fixes:
* Fix PPC (big endian) image codec bug.
Changes since Eet 1.6.0:
--------------------------

View File

@ -802,7 +802,7 @@ eet_data_image_lossless_compressed_convert(int *size,
{
unsigned int i;
for (i = 0; i < ((w * h) + 8); i++) SWAP32(header[i]);
for (i = 0; i < 8; i++) SWAP32(header[i]);
}
memcpy(d + (8 * sizeof(int)), comp, buflen);