[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:
Hans Verkuil 2014-01-27 06:11:08 -03:00 committed by Mauro Carvalho Chehab
parent a4c8c262f8
commit 10fa813de3
1 changed files with 40 additions and 41 deletions

View File

@ -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;, &amp;control)) {
}
control.id = V4L2_CID_AUDIO_MUTE;
control.value = TRUE; /* silence */
control.value = 1; /* silence */
/* Errors ignored */
ioctl(fd, VIDIOC_S_CTRL, &amp;control);