libcamera: v4l2_device: Buffer is not a struct
Buffer is a class, not a struct. Fix a variable declaration accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
1ec73e9ad5
commit
4088ae7a20
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ int V4L2Device::exportBuffers(BufferPool *pool)
|
|||
for (i = 0; i < pool->count(); ++i) {
|
||||
struct v4l2_plane planes[VIDEO_MAX_PLANES] = {};
|
||||
struct v4l2_buffer buf = {};
|
||||
struct Buffer &buffer = pool->buffers()[i];
|
||||
Buffer &buffer = pool->buffers()[i];
|
||||
|
||||
buf.index = i;
|
||||
buf.type = bufferType_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue