[V4L2] more conversion fixes

This commit is contained in:
ToadKing 2013-11-15 19:35:16 -05:00
parent bc29115692
commit 8f78112261

View File

@ -135,7 +135,7 @@ static void process_image(void *data, const void *p)
for (y = 0; y < v4l->height; y++)
for (x = 0; x < v4l->width; x += 2)
YUV422_to_RGB((uint32_t *)(buffer_dst + (y * v4l->width + x) * 3),
YUV422_to_RGB((uint32_t *)(buffer_dst + (y * v4l->width + x) * 4),
buffer_yuv + (y * v4l->width + x) * 2);
}