diff options
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index e457fba94f..3c3f4f53ab 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -186,7 +186,7 @@ static int tcp_write(URLContext *h, const uint8_t *buf, int size) if (ret) return ret; } - ret = send(s->fd, buf, size, 0); + ret = send(s->fd, buf, size, MSG_NOSIGNAL); return ret < 0 ? ff_neterrno() : ret; } |