summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4lconvert/sq905c.c
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-03-11 14:10:50 +0100
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-03-11 14:10:50 +0100
commit7aae43b6a31c2c58a1d3841d9ea4c94f86fba6a6 (patch)
treeba82a376e1d7739ef69630d9a921ea51f1fc179d /v4l2-apps/libv4l/libv4lconvert/sq905c.c
parent9a65e5e90ce0d4be59a49cd3a71d020e00cb3e0c (diff)
downloadmediapointer-dvb-s2-7aae43b6a31c2c58a1d3841d9ea4c94f86fba6a6.tar.gz
mediapointer-dvb-s2-7aae43b6a31c2c58a1d3841d9ea4c94f86fba6a6.tar.bz2
libv4l: Fix compile warning in sq905c.c
From: Hans de Goede <hdegoede@redhat.com> Fix compile warning in sq905c.c . Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert/sq905c.c')
-rw-r--r--v4l2-apps/libv4l/libv4lconvert/sq905c.c4
1 files 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;