From 685c68af9768c4219b7bb8ae68863293e3a4f63c Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 21 Jun 2012 13:11:14 +0200 Subject: videoout: Fix coding style Function calls should have no space before the opening bracket. Signed-off-by: Laurent Pinchart --- videoout.c | 8 ++++---- 1 file 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; } -- cgit v1.2.3