summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-17 16:12:51 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-17 16:12:51 -0700
commit5f908de18d153fc4eea68f349f31834a3350b5a7 (patch)
tree326680d56ba5cf8c16d499c6d585497e595e9fe7 /src
parentdcd5fb78351d72b5099dc45ae489b04c35d6c105 (diff)
evas: fix access to possibility undefined function.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 2320f6fb54..097c04fd02 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -3271,7 +3271,8 @@ _evas_image_efl_gfx_buffer_buffer_get(Eo *eo_obj, Evas_Image_Data *o,
3271 3271
3272 // FIXME: length needs to be properly checked with the engine 3272 // FIXME: length needs to be properly checked with the engine
3273 // as we just ignore l,r,t,b here 3273 // as we just ignore l,r,t,b here
3274 ENFN->image_stride_get(ENDT, o->engine_data, &stride); 3274 if (ENFN->image_stride_get)
3275 ENFN->image_stride_get(ENDT, o->engine_data, &stride);
3275 if (!stride) 3276 if (!stride)
3276 stride = _evas_common_rgba_image_surface_size(o->cur->image.w, 1, o->cur->cspace, NULL, NULL, NULL, NULL); 3277 stride = _evas_common_rgba_image_surface_size(o->cur->image.w, 1, o->cur->cspace, NULL, NULL, NULL, NULL);
3277 3278