forked from enlightenment/efl
emile: check that we actually do have option before using them.
CID 1288929
This commit is contained in:
parent
bb963f274b
commit
1c597b4373
|
@ -1698,7 +1698,7 @@ _emile_jpeg_data(Emile_Image *image,
|
|||
ie_h = prop->h;
|
||||
}
|
||||
|
||||
if ((opts->region.w > 0) && (opts->region.h > 0))
|
||||
if (opt && ((opts->region.w > 0) && (opts->region.h > 0)))
|
||||
{
|
||||
region = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue