Pass sizeimage
to ensure that allocated buffers are of a correct size
This commit is contained in:
@ -8,7 +8,7 @@ typedef struct device_s device_t;
|
||||
struct pollfd;
|
||||
|
||||
typedef struct buffer_format_s {
|
||||
unsigned width, height, format, bytesperline;
|
||||
unsigned width, height, format, bytesperline, sizeimage;
|
||||
unsigned nbufs;
|
||||
unsigned interval_us;
|
||||
} buffer_format_t;
|
||||
|
Reference in New Issue
Block a user