On Monday 30 April 2012 16:15:30 Hans Verkuil wrote: > On Monday 30 April 2012 16:06:16 Sakari Ailus wrote: [snip] > > One option is to keep the reserved fields as array even there was just one > > of them or if it no longer was there. If so, reserved should have been > > reserved[1] in the first place. This would make it easier to deal with > > the changing size of the reserved field. > > Definitely. But I think struct v4l2_buffer has been like this for a long > time (Laurent would know when the input field was added). That was 8 to 9 years ago. I'm responsible for that terrible idea, so I'd be happy to see the input field removed ;-) -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html