Commit 809bf29f authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: simplify check

parent 52def495
......@@ -352,12 +352,7 @@ static int dvbinfo_process(dvbinfo_capture_t *capture)
/* Wait for data to arrive */
buffer = fifo_pop(capture->fifo);
if (buffer == NULL)
{
if (capture->b_alive)
continue;
else
break;
}
continue;
if (param->output)
{
......@@ -417,6 +412,7 @@ static int dvbinfo_process(dvbinfo_capture_t *capture)
}
}
assert(fifo_count(capture->fifo) == 0);
libdvbpsi_exit(stream);
err = 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