diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-08-06 17:43:13 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-11 22:51:35 +0400 |
commit | 2f65f467b410ad7285ee243336c5d16dad01e847 (patch) | |
tree | b4e11a8f69711594102c73f5fc231b0432baf91e | |
parent | 77747f7960986e6a2210a837e6c76a68145d0bf9 (diff) | |
download | linux-2f65f467b410ad7285ee243336c5d16dad01e847.tar.xz |
[media] vivi: zero fmt.pix.priv as per spec
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/vivi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index cfa6a421c0a2..a6351c49bfd3 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -965,6 +965,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv, f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; else f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; + f->fmt.pix.priv = 0; return 0; } |