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:
fd8cb70
)
edje: let's not reopen the file for nothing.
author
Cedric Bail
<cedric.bail@samsung.com>
Fri, 10 May 2013 02:39:55 +0000
(11:39 +0900)
committer
Cedric Bail
<cedric.bail@samsung.com>
Fri, 10 May 2013 05:30:44 +0000
(14:30 +0900)
src/lib/edje/edje_multisense.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_multisense.c
b/src/lib/edje/edje_multisense.c
index
15400b3
..
5a1981a
100644
(file)
--- a/
src/lib/edje/edje_multisense.c
+++ b/
src/lib/edje/edje_multisense.c
@@
-122,7
+122,7
@@
_edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, c
// use eet_read_direct to avoid duplicating/copying into memory
// by relying on a direct mmap, but this means we need to close
// the eet file handle instead of freeing data
- eet_data->ef = eet_
open(ed->path
, EET_FILE_MODE_READ);
+ eet_data->ef = eet_
mmap(ed->file->f
, EET_FILE_MODE_READ);
if (!eet_data->ef)
{
ERR("Cannot open edje file '%s' for samples", ed->path);