aboutsummaryrefslogtreecommitdiffstats
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
parentemile: build examples after adding emile. (diff)
downloadefl-4095519d653172aa7b7fa916def28b315721233e.tar.gz
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,
if (quality)
*quality = 75;
- if (cspaces)
+ if (cspaces && *cspaces)
{
if ((*cspaces)[0] == EMILE_COLORSPACE_GRY8)
*cspaces = _eet_gry8_alpha_colorspace;