summaryrefslogtreecommitdiff
path: root/libcamera/rgbconvert.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcamera/rgbconvert.c')
-rw-r--r--libcamera/rgbconvert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/rgbconvert.c b/libcamera/rgbconvert.c
index 0837a93..cfc2cea 100644
--- a/libcamera/rgbconvert.c
+++ b/libcamera/rgbconvert.c
@@ -31,7 +31,7 @@ void yuv_to_rgb16(unsigned char y, unsigned char u, unsigned char v, unsigned ch
void convertYUYVtoRGB565(unsigned char *buf, unsigned char *rgb, int width, int height)
{
- int x,y,z=0;
+ int y=0;
int blocks;
blocks = (width * height) * 2;