projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77747f7
)
[media] vivi: zero fmt.pix.priv as per spec
author
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 6 Aug 2012 13:43:13 +0000
(10:43 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 11 Aug 2012 18:51:35 +0000
(15:51 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/vivi.c
b/drivers/media/video/vivi.c
index cfa6a421c0a2e94d3f662c11108064b2c006e251..a6351c49bfd31defc899d2dd171a7060cba876b6 100644
(file)
--- 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;
}