add some parenthesis to make logic at more clear if not more correct. Potentially fix #2405

This commit is contained in:
Isaac Connor 2019-01-09 16:39:53 -05:00
parent 1d54216e80
commit 4a82f460b2
1 changed files with 1 additions and 1 deletions

View File

@ -952,7 +952,7 @@ void LocalCamera::Initialise() {
} }
stdId = standard; stdId = standard;
if ( (input.std != V4L2_STD_UNKNOWN) && vidioctl( vid_fd, VIDIOC_S_STD, &stdId ) < 0 ) { if ( (input.std != V4L2_STD_UNKNOWN) && (vidioctl(vid_fd, VIDIOC_S_STD, &stdId) < 0) ) {
Fatal("Failed to set video standard %d: %s", standard, strerror(errno)); Fatal("Failed to set video standard %d: %s", standard, strerror(errno));
} }