diff options
author | Luca Abeni <lucabe72@email.it> | 2007-04-10 14:40:03 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-04-10 14:40:03 +0000 |
commit | e8d658df344553170cc1302438a8e70d97b52169 (patch) | |
tree | a2d5c1d9baf65c725b21a0047ed3e02f43392243 /ffserver.c | |
parent | 7e665cd3ff1c8843f6be922dce0d610404215f09 (diff) | |
download | ffmpeg-e8d658df344553170cc1302438a8e70d97b52169.tar.gz |
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
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 603227db5d..040c5f8d24 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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; |