[FFmpeg-cvslog] r22982 - trunk/libavdevice/v4l2.c
stefano
subversion
Wed Apr 28 00:45:28 CEST 2010
Author: stefano
Date: Wed Apr 28 00:45:27 2010
New Revision: 22982
Log:
Fix weird brace placement.
Modified:
trunk/libavdevice/v4l2.c
Modified: trunk/libavdevice/v4l2.c
==============================================================================
--- trunk/libavdevice/v4l2.c Wed Apr 28 00:26:08 2010 (r22981)
+++ trunk/libavdevice/v4l2.c Wed Apr 28 00:45:27 2010 (r22982)
@@ -169,8 +169,7 @@ static int device_open(AVFormatContext *
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);
More information about the ffmpeg-cvslog
mailing list