aboutsummaryrefslogtreecommitdiff
path: root/libavdevice/v4l2.c
diff options
context:
space:
mode:
authorStefano Sabatini2010-04-27 22:45:27 +0000
committerStefano Sabatini2010-04-27 22:45:27 +0000
commit6e25b78001a127a7c507ef6e55de9fe211d03716 (patch)
treedc4e7fbdad5bc3dfd4b70f5a33c29e10f5c67937 /libavdevice/v4l2.c
parentcf103fabbe33683d6ca138f7270351a4fa9c6466 (diff)
Fix weird brace placement.
Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r--libavdevice/v4l2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index b17c2c6bf1..724c014ecf 100644
--- a/libavdevice/v4l2.c
+++ b/libavdevice/v4l2.c
@@ -169,8 +169,7 @@ static int device_open(AVFormatContext *ctx, uint32_t *capabilities)
res = ioctl(fd, VIDIOC_QUERYCAP, &cap);
// ENOIOCTLCMD definition only availble on __KERNEL__
- if (res < 0 && errno == 515)
- {
+ if (res < 0 && errno == 515) {
av_log(ctx, AV_LOG_ERROR, "QUERYCAP not implemented, probably V4L device but not supporting V4L2\n");
close(fd);