fix build, declare strict checking correctly

This commit is contained in:
niels
2011-01-24 19:17:09 +01:00
parent e855b351ab
commit 6c27ffbb19
4 changed files with 21 additions and 18 deletions

View File

@@ -252,7 +252,7 @@ void freeframe_plug_retrieve_default_values( void *instance, void *fx_values )
{
void *base = NULL;
int error = vevo_property_get( instance, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
@@ -276,7 +276,7 @@ void freeframe_plug_retrieve_current_values( void *instance, void *fx_values )
{
void *base = NULL;
int error = vevo_property_get( instance, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
@@ -307,7 +307,7 @@ void freeframe_reverse_clone_parameter( void *instance, int seq, void *fx_values
{
void *base = NULL;
int error = vevo_property_get( instance, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
@@ -340,7 +340,7 @@ void freeframe_clone_parameter( void *instance, int seq, void *fx_values )
// put fx_values to freeframe
void *base = NULL;
int error = vevo_property_get( instance, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
assert(0); //@ this function must be dropped
#endif
@@ -384,7 +384,7 @@ void *freeframe_plug_init( void *plugin, int w, int h )
void *base = NULL;
int error = vevo_property_get( plugin, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
@@ -496,7 +496,7 @@ void freeframe_plug_deinit( void *plugin )
{
void *base = NULL;
int error = vevo_property_get( plugin, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == VEVO_NO_ERROR );
#endif
plugMainType *q = (plugMainType*) base;
@@ -527,7 +527,7 @@ void freeframe_plug_free( void *plugin )
int n = 0;
void *base = NULL;
int error = vevo_property_get( plugin, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
plugMainType *q = (plugMainType*) base;
@@ -573,19 +573,19 @@ int freeframe_plug_process( void *plugin, double timecode )
{
void *base = NULL;
int error = vevo_property_get( plugin, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
plugMainType *q = (plugMainType*) base;
int instance = 0;
error = vevo_property_get( plugin, "instance",0, &instance );
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
uint8_t *space = NULL;
error = vevo_property_get( plugin, "HOST_buffer",0,&space );
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
@@ -594,7 +594,7 @@ int freeframe_plug_process( void *plugin, double timecode )
VJFrame *output_frame = NULL;
error = vevo_property_get( plugin, "HOST_output", 0,&output_frame );
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
@@ -637,13 +637,14 @@ void freeframe_plug_param_f( void *plugin, int seq_no, void *dargs )
void *base = NULL;
error = vevo_property_get( plugin, "base", 0, &base);
#ifdef STRICT_CHECING
#ifdef STRICT_CHECKING
assert( error == LIVIDO_NO_ERROR );
#endif
int instance = 0;
error = vevo_property_get( plugin, "instance", 0, &instance );
#ifdef STRICT_CHECKING
assert( error == VEVO_NO_ERROR );
#endif
plugMainType *q = (plugMainType*) base;
q( FF_SETPARAMETER, &sps, instance );