projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e665cd
)
Fix the poll() loop (ret == 0 means that a timeout expired, so it must be
author
Luca Abeni
<lucabe72@email.it>
Tue, 10 Apr 2007 14:40:03 +0000
(14:40 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Tue, 10 Apr 2007 14:40:03 +0000
(14:40 +0000)
handled)
Originally committed as revision 8711 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
603227d
..
040c5f8
100644
(file)
--- 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;