mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 11:21:29 +00:00
Fix the poll() loop (ret == 0 means that a timeout expired, so it must be
handled) Originally committed as revision 8711 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7e665cd3ff
commit
e8d658df34
@ -594,7 +594,7 @@ static int http_server(void)
|
||||
ret = poll(poll_table, poll_entry - poll_table, delay);
|
||||
if (ret < 0 && errno != EAGAIN && errno != EINTR)
|
||||
return -1;
|
||||
} while (ret <= 0);
|
||||
} while (ret < 0);
|
||||
|
||||
cur_time = av_gettime() / 1000;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user