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:
8f3e860
)
evas: make sure we always open the file and look at its header before trying to load...
author
Cedric BAIL
<cedric@osg.samsung.com>
Thu, 5 Oct 2017 23:02:47 +0000
(16:02 -0700)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Thu, 5 Oct 2017 23:02:47 +0000
(16:02 -0700)
src/lib/evas/common/evas_image_load.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/common/evas_image_load.c
b/src/lib/evas/common/evas_image_load.c
index
b871bfe
..
0ea6a58
100644
(file)
--- a/
src/lib/evas/common/evas_image_load.c
+++ b/
src/lib/evas/common/evas_image_load.c
@@
-420,7
+420,7
@@
evas_common_load_rgba_image_data_from_file(Image_Entry *ie)
evas_image_load_func = ie->info.loader;
evas_module_use(ie->info.module);
- if (!ie->
f
)
+ if (!ie->
loader_data
)
{
Evas_Module *em = ie->info.module;
@@
-451,7
+451,7
@@
end:
ie->info.module = em;
}
}
- if ((!ie->f) || (!ie->info.module))
+ if ((!ie->f) || (!ie->info.module)
|| (!ie->loader_data)
)
{
ie->load_failed = 1;
return EVAS_LOAD_ERROR_DOES_NOT_EXIST;