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:
Stefan Schmidt 2013-07-02 09:42:35 +01:00
parent e2b2918858
commit ed08c1832c
1 changed files with 2 additions and 0 deletions

View File

@ -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",