Merge commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f'
* commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f': libavformat: use MSG_NOSIGNAL when applicable Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -123,7 +123,7 @@ static int unix_write(URLContext *h, const uint8_t *buf, int size)
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
ret = send(s->fd, buf, size, 0);
|
||||
ret = send(s->fd, buf, size, MSG_NOSIGNAL);
|
||||
return ret < 0 ? ff_neterrno() : ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user