aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-27 22:45:27 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-27 22:45:27 +0000
commit6e25b78001a127a7c507ef6e55de9fe211d03716 (patch)
treedc4e7fbdad5bc3dfd4b70f5a33c29e10f5c67937 /libavdevice
parentcf103fabbe33683d6ca138f7270351a4fa9c6466 (diff)
downloadffmpeg-6e25b78001a127a7c507ef6e55de9fe211d03716.tar.gz
Fix weird brace placement.
Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-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);