Commit 1deeca98 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #12262 from sivaraam:v4l2_mainloop

parents 6acabd1f a527e8cc
......@@ -857,11 +857,6 @@ static int read_frame_v4l2(CvCaptureCAM_V4L* capture) {
}
static int mainloop_v4l2(CvCaptureCAM_V4L* capture) {
unsigned int count;
count = 1;
while (count-- > 0) {
for (;;) {
fd_set fds;
struct timeval tv;
......@@ -896,7 +891,6 @@ static int mainloop_v4l2(CvCaptureCAM_V4L* capture) {
if(returnCode == 1)
return 1;
}
}
return 0;
}
......
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