forked from enlightenment/efl
emotion: Another check for engine being NULL.
Missed this second occurance in 8deb75463b
.
Now also fixed this potential null pointer dereference when the engine
list is empty.
This commit is contained in:
parent
e2b2918858
commit
ed08c1832c
|
@ -1086,6 +1086,8 @@ _image_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_inf
|
|||
}
|
||||
}
|
||||
|
||||
if (!engine) return;
|
||||
|
||||
if (strstr(engine, "software") != NULL)
|
||||
{
|
||||
caps = gst_caps_new_simple("video/x-raw-rgb",
|
||||
|
|
Loading…
Reference in New Issue