summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-03-17 08:50:29 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:19 +0100
commit4095519d653172aa7b7fa916def28b315721233e (patch)
tree58808790786dde14886000fc44b5d8563c2c3a82 /src/lib/eet
parent091411558688627dddad3480bee773d1dd309f55 (diff)
emile: fix crash when cspaces is left unchanged.
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index f94bc5918c..1b34b286b5 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -1837,7 +1837,7 @@ eet_data_image_header_advance_decode_cipher(const void *data,
1837 if (quality) 1837 if (quality)
1838 *quality = 75; 1838 *quality = 75;
1839 1839
1840 if (cspaces) 1840 if (cspaces && *cspaces)
1841 { 1841 {
1842 if ((*cspaces)[0] == EMILE_COLORSPACE_GRY8) 1842 if ((*cspaces)[0] == EMILE_COLORSPACE_GRY8)
1843 *cspaces = _eet_gry8_alpha_colorspace; 1843 *cspaces = _eet_gry8_alpha_colorspace;