eet: fix possible ABI break.
authorCedric BAIL <cedric@osg.samsung.com>
Mon, 11 Aug 2014 14:17:05 +0000 (16:17 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 11 Aug 2014 14:17:05 +0000 (16:17 +0200)
src/lib/eet/eet_image.c

index efe7108..effe990 100644 (file)
@@ -801,6 +801,9 @@ eet_data_image_etc2_decode(const void *data,
 
    m = data;
 
+   // Fix for ABI incompatibility between 1.10 and 1.11
+   if (cspace == 8) cspace = 9;
+
    if (strncmp(m, "TGV1", 4) != 0)
      return 0;