forked from enlightenment/efl
eet - fix endianess break added by cedric a year ago in image decoding
@fix
this fixes T1987 - the commit that broke it was:
commit 18d494489c
Author: Cedric BAIL <cedric.bail@samsung.com>
Date: Fri Jan 3 16:20:53 2014 +0900
eet: use eina_swap*() function instead of custom slower one.
This commit is contained in:
parent
9466f32dae
commit
b86579bed6
|
@ -314,9 +314,9 @@ eet_data_image_jpeg_alpha_convert(int *size,
|
||||||
|
|
||||||
/*---*/
|
/*---*/
|
||||||
|
|
||||||
#define SWAP64(x) eina_swap64(x)
|
#define SWAP64(x) x = eina_swap64(x)
|
||||||
#define SWAP32(x) eina_swap32(x)
|
#define SWAP32(x) x = eina_swap32(x)
|
||||||
#define SWAP16(x) eina_swap16(x)
|
#define SWAP16(x) x = eina_swap16(x)
|
||||||
|
|
||||||
#ifdef CONV8
|
#ifdef CONV8
|
||||||
# undef CONV8
|
# undef CONV8
|
||||||
|
|
Loading…
Reference in New Issue