diff options
Diffstat (limited to 'utils/v4l2-ctl/v4l2-ctl-streaming.cpp')
-rw-r--r-- | utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp index de40c5ad..833263b6 100644 --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp @@ -2742,7 +2742,7 @@ static void streaming_set_cap2out(cv4l_fd &fd, cv4l_fd &out_fd) if (use_poll) fcntl(fd.g_fd(), F_SETFL, fd_flags | O_NONBLOCK); - while (1) { + while (true) { struct timeval tv = { use_poll ? 2 : 0, 0 }; int r = 0; |