add some parenthesis to make logic at more clear if not more correct. Potentially fix #2405
This commit is contained in:
parent
1d54216e80
commit
4a82f460b2
|
@ -952,7 +952,7 @@ void LocalCamera::Initialise() {
|
|||
}
|
||||
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue