projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb963f2
)
emile: check that we actually do have option before using them.
author
Cedric BAIL
<cedric@osg.samsung.com>
Sat, 25 Apr 2015 16:52:22 +0000
(18:52 +0200)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Sat, 25 Apr 2015 16:52:22 +0000
(18:52 +0200)
CID 1288929
src/lib/emile/emile_image.c
patch
|
blob
|
history
diff --git
a/src/lib/emile/emile_image.c
b/src/lib/emile/emile_image.c
index
a5cfb04
..
180f447
100644
(file)
--- a/
src/lib/emile/emile_image.c
+++ b/
src/lib/emile/emile_image.c
@@
-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;