Subject: [E-devel] [Patch] [Edje] Fix for seg fault during edje
decompilation
Fix decompile of sound samples to use sound source file, not name
Fix decompile of sound samples not double-free
Fix alsa configure option to be alsa, not flac.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@72117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
2012-06-04 Cedric Bail
* Add SPACER part to reduce the load on the canvas (lighter and faster theme).
+
+2012-06-04 Prince Kumar Dubey
+
+ * Fix decompile of sound samples to use sound source file, not name
+ * Fix decompile of sound samples not double-free
+ * Fix alsa configure option to be alsa, not flac.
+
##alsa library
have_alsa_lib="no"
want_alsa_lib="auto"
-AC_ARG_ENABLE([flac],
+AC_ARG_ENABLE([alsa],
[AC_HELP_STRING([--disable-alsa], [disable alsa support. @<:@default=detect@:>@])],
[want_alsa_lib=$enableval], [])
sound_data = (void *)eet_read_direct(tef, out, &sound_data_size);
if (sound_data)
{
- snprintf(out1, sizeof(out1), "%s/%s", outdir, sample->name);
+ snprintf(out1, sizeof(out1), "%s/%s", outdir, sample->snd_src);
pp = strdup(out1);
p = strrchr(pp, '/');
*p = 0;
if (fwrite(sound_data, sound_data_size, 1, f) != 1)
ERR("Could not write sound: %s", strerror(errno));
fclose(f);
- free(sound_data);
}
}