From 7aae43b6a31c2c58a1d3841d9ea4c94f86fba6a6 Mon Sep 17 00:00:00 2001 From: "hans@rhel5-devel.localdomain" Date: Wed, 11 Mar 2009 14:10:50 +0100 Subject: libv4l: Fix compile warning in sq905c.c From: Hans de Goede Fix compile warning in sq905c.c . Priority: normal Signed-off-by: Hans de Goede --- v4l2-apps/libv4l/libv4lconvert/sq905c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v4l2-apps/libv4l/libv4lconvert/sq905c.c b/v4l2-apps/libv4l/libv4lconvert/sq905c.c index 2610e0317..a73b4da93 100644 --- a/v4l2-apps/libv4l/libv4lconvert/sq905c.c +++ b/v4l2-apps/libv4l/libv4lconvert/sq905c.c @@ -32,7 +32,7 @@ static int -sq905c_first_decompress(unsigned char *output, unsigned char *input, +sq905c_first_decompress(unsigned char *output, const unsigned char *input, unsigned int outputsize) { unsigned char parity = 0; @@ -203,7 +203,7 @@ void v4lconvert_decode_sq905c(const unsigned char *src, unsigned char *dst, { int size; unsigned char *temp_data; - unsigned char *raw; + const unsigned char *raw; /* here we get rid of the 0x50 bytes of header in src. */ raw = src + 0x50; size = width*height/2; -- cgit v1.2.3