summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_x/ecore_x_image.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_x/ecore_x_image.c b/src/lib/ecore_x/ecore_x_image.c
index 016323c175..3b7030863f 100644
--- a/src/lib/ecore_x/ecore_x_image.c
+++ b/src/lib/ecore_x/ecore_x_image.c
@@ -502,6 +502,9 @@ ecore_x_image_to_argb_convert(void *src,
502 }; 502 };
503 int mode = 0; 503 int mode = 0;
504 504
505 EINA_SAFETY_ON_NULL_RETURN_VAL(src, EINA_FALSE);
506 EINA_SAFETY_ON_NULL_RETURN_VAL(dst, EINA_FALSE);
507
505 sbpp *= 8; 508 sbpp *= 8;
506 509
507 n = vis->map_entries; 510 n = vis->map_entries;