]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tcp.c
Merge commit 'e205fe6831fe1b5445f7827b5c916425620b4ab5'
[ffmpeg] / libavformat / tcp.c
index e457fba94fa99c7b20cd9864061f38f64f6c044c..3c3f4f53ab2baa347c590f526ebc485bf238f1e2 100644 (file)
@@ -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;
 }