aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/vivi.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-08-06 09:43:13 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-11 14:51:35 -0400
commit2f65f467b410ad7285ee243336c5d16dad01e847 (patch)
treeb4e11a8f69711594102c73f5fc231b0432baf91e /drivers/media/video/vivi.c
parent77747f7960986e6a2210a837e6c76a68145d0bf9 (diff)
[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>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r--drivers/media/video/vivi.c1
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,
965 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; 965 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
966 else 966 else
967 f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB; 967 f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB;
968 f->fmt.pix.priv = 0;
968 return 0; 969 return 0;
969} 970}
970 971