diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-07-04 12:49:28 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-10-20 21:21:35 +0200 |
commit | dd91236537427f7cae68b08d4b39926ef4cafe74 (patch) | |
tree | 2651dad80930f3d505cd751cfb589fb2df9daa19 /isp/v4l2.c | |
parent | 1922132a4facf53e71855fb3624ab29da99a6fe3 (diff) |
v4l2-pool: Initialize buffer indexes when creating the pool
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'isp/v4l2.c')
-rw-r--r-- | isp/v4l2.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -650,7 +650,6 @@ int v4l2_dequeue_buffer(struct v4l2_device *dev, struct v4l2_video_buffer *buffe } *buffer = dev->pool->buffers[buf.index]; - buffer->index = buf.index; buffer->bytesused = buf.bytesused; buffer->timestamp = buf.timestamp; buffer->error = !!(buf.flags & V4L2_BUF_FLAG_ERROR); |