[media] DocBook media: fix coding style in the control example code
Use the proper kernel coding style in these examples. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
a4c8c262f8
commit
10fa813de3
|
@ -441,8 +441,7 @@ more menu type controls.</para>
|
|||
&v4l2-queryctrl; queryctrl;
|
||||
&v4l2-querymenu; querymenu;
|
||||
|
||||
static void
|
||||
enumerate_menu (void)
|
||||
static void enumerate_menu(void)
|
||||
{
|
||||
printf(" Menu items:\n");
|
||||
|
||||
|
@ -551,7 +550,7 @@ if (0 == ioctl (fd, &VIDIOC-G-CTRL;, &control)) {
|
|||
}
|
||||
|
||||
control.id = V4L2_CID_AUDIO_MUTE;
|
||||
control.value = TRUE; /* silence */
|
||||
control.value = 1; /* silence */
|
||||
|
||||
/* Errors ignored */
|
||||
ioctl(fd, VIDIOC_S_CTRL, &control);
|
||||
|
|
Loading…
Reference in New Issue