fix warnings

This commit is contained in:
niels
2015-11-15 23:37:48 +01:00
parent 52858c8865
commit 39bcf6a5fc
3 changed files with 1 additions and 5 deletions

View File

@@ -1508,7 +1508,6 @@ void binarify_1src( uint8_t *dst, uint8_t *src, uint8_t threshold,int reverse, i
void binarify( uint8_t *bm, uint8_t *bg, uint8_t *src,int threshold,int reverse, const int len ) void binarify( uint8_t *bm, uint8_t *bg, uint8_t *src,int threshold,int reverse, const int len )
{ {
int i;
if(!reverse) if(!reverse)
{ {
vje_diff_plane( bg, src, bm, threshold,len ); vje_diff_plane( bg, src, bm, threshold,len );

View File

@@ -47,7 +47,7 @@ vj_effect *dither_init(int w, int h)
return ve; return ve;
} }
static last_size = 0; static int last_size = 0;
void dither_apply(VJFrame *frame, int width, int height, int size, int random_on) void dither_apply(VJFrame *frame, int width, int height, int size, int random_on)
{ {
long int w_, h_; long int w_, h_;

View File

@@ -492,9 +492,6 @@ void vj_effect_deactivate_all()
void vj_effect_initialize(int width, int height, int full_range) void vj_effect_initialize(int width, int height, int full_range)
{ {
int i = VJ_VIDEO_COUNT;
int k;
if( full_range ) if( full_range )
{ {
set_pixel_range( 255, 255,0,0 ); set_pixel_range( 255, 255,0,0 );