Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44083
b: refs/heads/master
c: 499c186
h: refs/heads/master
i:
  44081: 3808357
  44079: 3330add
v: v3
  • Loading branch information
audetto@tiscali.it authored and Mauro Carvalho Chehab committed Dec 10, 2006
1 parent d736339 commit b523ac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e75f9cee32827853fc2f9d1ceb6352e3edc33e9d
refs/heads/master: 499c18698990463b84c23ddc98104517fe759ee8
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/v4l1-compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ v4l_compat_translate_ioctl(struct inode *inode,
struct video_buffer *buffer = arg;

memset(buffer, 0, sizeof(*buffer));
memset(&fbuf2, 0, sizeof(fbuf2));

err = drv(inode, file, VIDIOC_G_FBUF, &fbuf2);
if (err < 0) {
Expand Down Expand Up @@ -616,6 +617,7 @@ v4l_compat_translate_ioctl(struct inode *inode,
case VIDIOCSPICT: /* set tone controls & partial capture format */
{
struct video_picture *pict = arg;
memset(&fbuf2, 0, sizeof(fbuf2));

set_v4l_control(inode, file,
V4L2_CID_BRIGHTNESS, pict->brightness, drv);
Expand Down

0 comments on commit b523ac6

Please sign in to comment.