Fix weird brace placement.

Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Stefano Sabatini 15 years ago
parent cf103fabbe
commit 6e25b78001
  1. 3
      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);

Loading…
Cancel
Save