summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-12-22 11:18:19 +0200
committerMykyta Biliavskyi <m.biliavskyi@samsung.com>2016-12-22 11:40:57 +0200
commit82b80212c6983ae154a79bc1318cf553249871c8 (patch)
tree8f126cc9808d22b7ad693f7b6bdd00b28a0855b3
parent3425ad2abda77ef708600d19b3cf6a711b15902b (diff)
downloadefl-82b80212c6983ae154a79bc1318cf553249871c8.tar.gz
Edje_Edit: replace eet_read_direct by eet_read function.
eet_read_direct function doesn't works with ciphered data, but it is possible that edje file was ciphered. In this case data, that returned by eet_read_direct always will be NULL.
-rw-r--r--src/lib/edje/edje_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 291b5afaf0..2be9842afe 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -1587,7 +1587,7 @@ edje_edit_sound_samplebuffer_get(Evas_Object *obj, const char *sample_name)
if (!ef)
return NULL;
snprintf(snd_id_str, sizeof(snd_id_str), "edje/sounds/%i", sample->id);
- data = eet_read_direct(ef, snd_id_str, &len);
+ data = eet_read(ef, snd_id_str, &len);
if (len <= 0)
{
ERR("Sample from edj file '%s' has 0 length", ed->path);