Hi Mauro,

While working on something else I suddenly saw that the VIDIOC_OVERLAY support
was broken in 3.6. The vidioc_overlay op in v4l2-ioctls.h receives an unsigned 
int,
whereas the ioctl table in v4l2-ioctls.c assumed that it would be an unsigned 
int
pointer.

To fix this a small conversion function was made.

This patch applies to 3.7. By checking 'v4l2-core' to 'video' in the path of
the file this patch will also apply to 3.6.

All other ioctls that do this dereferencing are fine, it's just this one that's
failing.

Regards,

        Hans

The following changes since commit 79e8c7bebb467bbc3f2514d75bba669a3f354324:

  Merge tag 'v3.6-rc3' into staging/for_v3.7 (2012-08-24 11:25:10 -0300)

are available in the git repository at:


  git://linuxtv.org/hverkuil/media_tree.git overlay

for you to fetch changes up to 22ffede236c77ad0d4bff19a9cffe4f27bd05819:

  v4l2-ioctl.c: fix overlay support. (2012-09-04 15:08:01 +0200)

----------------------------------------------------------------
Hans Verkuil (1):
      v4l2-ioctl.c: fix overlay support.

 drivers/media/v4l2-core/v4l2-ioctl.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to