diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-26 09:07:51 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-26 09:07:51 +0000 |
commit | c40432d30c7c03cd8557cd55af119f91c715c4c4 (patch) | |
tree | 392b9d7561491158f4a2e8c56c75c15b472a7de3 | |
parent | 5163c0d9a2470643ef20ee0fc38b8c98e9fa99ed (diff) | |
download | ffmpeg-c40432d30c7c03cd8557cd55af119f91c715c4c4.tar.gz |
Cosmetics: put a space after each comma, improve consistency and
readability.
Originally committed as revision 16315 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavdevice/v4l.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index 5b9d5f8a02..e260dac451 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -111,7 +111,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) } } - if (ioctl(video_fd,VIDIOCGCAP, &s->video_cap) < 0) { + if (ioctl(video_fd, VIDIOCGCAP, &s->video_cap) < 0) { av_log(s1, AV_LOG_ERROR, "VIDIOCGCAP: %s\n", strerror(errno)); goto fail; } @@ -172,7 +172,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) goto fail1; } - if (ioctl(video_fd,VIDIOCGMBUF,&s->gb_buffers) < 0) { + if (ioctl(video_fd, VIDIOCGMBUF, &s->gb_buffers) < 0) { /* try to use read based access */ int val; @@ -191,9 +191,9 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) s->time_frame = av_gettime() * s->time_base.den / s->time_base.num; s->use_mmap = 0; } else { - s->video_buf = mmap(0,s->gb_buffers.size,PROT_READ|PROT_WRITE,MAP_SHARED,video_fd,0); + s->video_buf = mmap(0, s->gb_buffers.size, PROT_READ|PROT_WRITE, MAP_SHARED, video_fd, 0); if ((unsigned char*)-1 == s->video_buf) { - s->video_buf = mmap(0,s->gb_buffers.size,PROT_READ|PROT_WRITE,MAP_PRIVATE,video_fd,0); + s->video_buf = mmap(0, s->gb_buffers.size, PROT_READ|PROT_WRITE, MAP_PRIVATE, video_fd, 0); if ((unsigned char*)-1 == s->video_buf) { av_log(s1, AV_LOG_ERROR, "mmap: %s\n", strerror(errno)); goto fail; @@ -213,7 +213,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) fail1: av_log(s1, AV_LOG_ERROR, "Fatal: grab device does not support suitable format\n"); } else { - av_log(s1, AV_LOG_ERROR,"Fatal: grab device does not receive any video signal\n"); + av_log(s1, AV_LOG_ERROR, "Fatal: grab device does not receive any video signal\n"); } goto fail; } |