summaryrefslogtreecommitdiff
path: root/libavformat/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/unix.c')
-rw-r--r--libavformat/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/unix.c b/libavformat/unix.c
index ab57c68195..5c6f576487 100644
--- a/libavformat/unix.c
+++ b/libavformat/unix.c
@@ -124,7 +124,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;
}