camera: make comments more consistent
This commit is contained in:
parent
9e855dad62
commit
88701c479b
|
@ -1711,7 +1711,7 @@ static int _open_setup_read(Camera * camera)
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
camera->raw_buffer = p;
|
camera->raw_buffer = p;
|
||||||
camera->raw_buffer_cnt = cnt;
|
camera->raw_buffer_cnt = cnt;
|
||||||
/* allocate the rgb buffer */
|
/* allocate the RGB buffer */
|
||||||
cnt = camera->format.fmt.pix.width * camera->format.fmt.pix.height * 3;
|
cnt = camera->format.fmt.pix.width * camera->format.fmt.pix.height * 3;
|
||||||
if((p = realloc(camera->rgb_buffer, cnt)) == NULL)
|
if((p = realloc(camera->rgb_buffer, cnt)) == NULL)
|
||||||
return error_set_code(-errno, "%s: %s", camera->device,
|
return error_set_code(-errno, "%s: %s", camera->device,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user