eet - one place endianess check wasn't explicit - cleaner code if it is
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 14 Jan 2015 09:17:19 +0000 (18:17 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 14 Jan 2015 09:17:19 +0000 (18:17 +0900)
this MAY be a bugfix, but i can't see how after checking the code, but
to keep it conistent and less likely to grow a bug... do this.

src/lib/eet/eet_image.c

index 38b4c53..c72a385 100644 (file)
@@ -2359,6 +2359,8 @@ _eet_data_image_decode_inside(const void   *data,
                               Eet_Image_Encoding lossy,
                               Eet_Colorspace cspace)
 {
+   _eet_image_endian_check();
+
    if (lossy == EET_IMAGE_LOSSLESS && quality == 100)
      {
         unsigned int *body;