This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
tcp: Check the listen call
Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n1.0
Jordi Ortiz
Martin Storsjö
13 years ago
parent
ae702edf43
commit
a7cc78cb11
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
libavformat/tcp.c
+ 5
- 1
libavformat/tcp.c
View File
@@ -90,7 +90,11 @@ static int tcp_open(URLContext *h, const char *uri, int flags)
ret = ff_neterrno();
goto fail1;
}
listen(fd, 1);
ret = listen(fd, 1);
if (ret) {
ret = ff_neterrno();
goto fail1;
}
fd1 = accept(fd, NULL, NULL);
if (fd1 < 0) {
ret = ff_neterrno();
Write
Preview
Loading…
Cancel
Save