mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: amr: Cosmetic cleanup mov_chan: Fix operator precedence by adding parentheses doc: Add missing protocols to list of supported protocols. tcp: Check the listen call Conflicts: libavformat/amr.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user