Commit 20f9de3f authored by stefano's avatar stefano

Fix weird brace placement.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22982 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 56aa9dec
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment