emile: fix support of AGRY88.
authorCedric BAIL <cedric@osg.samsung.com>
Sat, 25 Apr 2015 16:26:58 +0000 (18:26 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Sat, 25 Apr 2015 16:26:58 +0000 (18:26 +0200)
CID 1288931

src/lib/emile/emile_image.c

index 84589e291409f4739c41eab36cce583a708bc4c4..a5cfb04c03d9c4a7d99724530c75f3e16b30d924 100644 (file)
@@ -2039,7 +2039,7 @@ _emile_jpeg_data(Emile_Image *image,
                               }
                             else if (prop->cspace == EMILE_COLORSPACE_AGRY88)
                               {
-                                 *ptrag = 0xFF | ptr[0];
+                                 *ptrag = 0xFF00 | ptr[0];
                                  ptrag++;
                               }
                             else