nikawhite pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=82b80212c6983ae154a79bc1318cf553249871c8

commit 82b80212c6983ae154a79bc1318cf553249871c8
Author: Mykyta Biliavskyi <m.biliavs...@samsung.com>
Date:   Thu Dec 22 11:18:19 2016 +0200

    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.
---
 src/lib/edje/edje_edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 291b5af..2be9842 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);

-- 


Reply via email to