You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Fix weird brace placement.
Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -169,8 +169,7 @@ static int device_open(AVFormatContext *ctx, uint32_t *capabilities)
|
|||||||
|
|
||||||
res = ioctl(fd, VIDIOC_QUERYCAP, &cap);
|
res = ioctl(fd, VIDIOC_QUERYCAP, &cap);
|
||||||
// ENOIOCTLCMD definition only availble on __KERNEL__
|
// 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");
|
av_log(ctx, AV_LOG_ERROR, "QUERYCAP not implemented, probably V4L device but not supporting V4L2\n");
|
||||||
close(fd);
|
close(fd);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user