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:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user