fix compile warnings, fix setting of optimziation level, move subsample to libsubsample, disable optimization level for libsubsample, fix crash on exit, clean up, smaller bugfixes

This commit is contained in:
niels
2014-12-22 00:11:13 +01:00
parent 4527d809af
commit d07bc70cb8
39 changed files with 423 additions and 68 deletions

View File

@@ -40,6 +40,7 @@
#include <libsample/sampleadm.h>
#include <libvjmsg/vj-msg.h>
#include <libvje/vje.h>
#include <libsubsample/subsample.h>
#include <libvjmem/vjmem.h>
#include <libvevo/vevo.h>
#include <libvevo/libvevo.h>
@@ -949,7 +950,7 @@ void sample_del_all()
sample_info *si = sample_get(i);
if(si->edit_list) {
char key[32];
snprintf(key, "p%p", si->edit_list );
snprintf(key,sizeof(key), "p%p", si->edit_list );
if( vevo_property_get( port, key, 0, NULL ) == VEVO_ERROR_NOSUCH_PROPERTY ) {
vevo_property_set( port, key, VEVO_ATOM_TYPE_VOIDPTR,1,&(si->edit_list));
}