summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-21 13:11:14 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-21 15:03:33 +0200
commit685c68af9768c4219b7bb8ae68863293e3a4f63c (patch)
tree7c6d320bd278f648251551eba1d09cd9db73844c
parent5256d9f02b9cdd1a42abdb4178355fc4b2142488 (diff)
videoout: Fix coding style
Function calls should have no space before the opening bracket. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--videoout.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/videoout.c b/videoout.c
index 2960552..df580c0 100644
--- a/videoout.c
+++ b/videoout.c
@@ -152,7 +152,7 @@ int vo_enable_colorkey(struct videoout *vo, unsigned int val)
ret = ioctl(vo->dev->fd, VIDIOC_G_FBUF, &framebuffer);
if (ret < 0) {
- perror ("VIDIOC_G_FBUF");
+ perror("VIDIOC_G_FBUF");
return 0;
}
@@ -161,7 +161,7 @@ int vo_enable_colorkey(struct videoout *vo, unsigned int val)
framebuffer.flags &= ~V4L2_FBUF_FLAG_LOCAL_ALPHA;
ret = ioctl(vo->dev->fd, VIDIOC_S_FBUF, &framebuffer);
if (ret < 0) {
- perror ("VIDIOC_S_FBUF");
+ perror("VIDIOC_S_FBUF");
return 0;
}
}
@@ -202,7 +202,7 @@ int vo_queue_buffer(struct videoout *vo, struct v4l2_video_buffer *buffer)
int ret;
if (vo->queued[buffer->index]) {
- fprintf (stderr, "buffer already queued\n");
+ fprintf(stderr, "buffer already queued\n");
return 0;
}
@@ -216,7 +216,7 @@ int vo_queue_buffer(struct videoout *vo, struct v4l2_video_buffer *buffer)
if (!vo->streaming) {
if (v4l2_stream_on(vo->dev)) {
- printf ("error: failed to start display streamon\n");
+ printf("error: failed to start display streamon\n");
}
vo->streaming = 1;
}