[media] v4l2-ioctl.c: fix overlay support
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 4 Sep 2012 13:08:01 +0000 (10:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 23 Sep 2012 16:48:49 +0000 (13:48 -0300)
commit89de0f2cda8b784e51ebd6655fff7339e4ac552b
treec313d742e4ee3ec2bdecc09b3fc28e401da472e6
parent40c6f7ec76eddf34c43ad84616cdf6b1ddec480e
[media] v4l2-ioctl.c: fix overlay support

The vidioc_overlay op needs an unsigned int, not an unsigned int pointer.
So we need a small function that dereferences the unsigned int pointer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c