Commit 09d4d691 authored by Marina Kolpakova's avatar Marina Kolpakova

minor warning fixes

parent f2c30cd9
...@@ -1736,7 +1736,7 @@ mjpeg_to_rgb24 (int width, int height, ...@@ -1736,7 +1736,7 @@ mjpeg_to_rgb24 (int width, int height,
* *
*/ */
void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) static void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst)
{ {
long int i; long int i;
unsigned char *rawpt, *scanpt; unsigned char *rawpt, *scanpt;
...@@ -1814,7 +1814,7 @@ void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned c ...@@ -1814,7 +1814,7 @@ void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned c
// at least for 046d:092f Logitech, Inc. QuickCam Express Plus to work // at least for 046d:092f Logitech, Inc. QuickCam Express Plus to work
//see: http://www.siliconimaging.com/RGB%20Bayer.htm //see: http://www.siliconimaging.com/RGB%20Bayer.htm
//and 4.6 at http://tldp.org/HOWTO/html_single/libdc1394-HOWTO/ //and 4.6 at http://tldp.org/HOWTO/html_single/libdc1394-HOWTO/
void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst) static void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst)
{ {
long int i; long int i;
unsigned char *rawpt, *scanpt; unsigned char *rawpt, *scanpt;
...@@ -1921,7 +1921,7 @@ static int init_done = 0; ...@@ -1921,7 +1921,7 @@ static int init_done = 0;
present at the MSB of byte x. present at the MSB of byte x.
*/ */
void sonix_decompress_init(void) static void sonix_decompress_init(void)
{ {
int i; int i;
int is_abs, val, len; int is_abs, val, len;
...@@ -1999,7 +1999,7 @@ void sonix_decompress_init(void) ...@@ -1999,7 +1999,7 @@ void sonix_decompress_init(void)
Returns <0 if operation failed. Returns <0 if operation failed.
*/ */
int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp) static int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp)
{ {
int row, col; int row, col;
int val; int val;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment