Re: structure alignment problems

2007-01-28 Thread Giorgos Keramidas
On 2007-01-28 12:24, [EMAIL PROTECTED] wrote: > Hi, > i am working on getting mythtv-0.20 talking to the pvrxxx driver. > > the problem appears when i want to do: > v4l2_capabilities vcap; > ioctl(videofd, VIDIOC_QUERYCAP, &vcap); > > the driver and mythtv have the struct differently aligned, and

structure alignment problems

2007-01-28 Thread usleepless
Hi, i am working on getting mythtv-0.20 talking to the pvrxxx driver. the problem appears when i want to do: v4l2_capabilities vcap; ioctl(videofd, VIDIOC_QUERYCAP, &vcap); the driver and mythtv have the struct differently aligned, and i get an "inappropiate ioctl for device". this is what th