[vlc-commits] file out: use vlc_send()
Rémi Denis-Courmont
git at videolan.org
Sun Mar 29 16:07:40 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 28 09:16:24 2020 +0200| [27298749e351bdc031dce7eff5a1c79d4245f291] | committer: Rémi Denis-Courmont
file out: use vlc_send()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27298749e351bdc031dce7eff5a1c79d4245f291
---
modules/access_output/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access_output/file.c b/modules/access_output/file.c
index c983e3a8f0..036a0ceda6 100644
--- a/modules/access_output/file.c
+++ b/modules/access_output/file.c
@@ -163,7 +163,7 @@ static ssize_t Send(sout_access_out_t *access, block_t *block)
}
/* TODO: vectorized I/O with sendmsg() */
- ssize_t val = send(fd, block->p_buffer, block->i_buffer, MSG_NOSIGNAL);
+ ssize_t val = vlc_send(fd, block->p_buffer, block->i_buffer, 0);
if (val <= 0)
{ /* FIXME: errno is meaningless if val is zero */
if (errno == EINTR)
More information about the vlc-commits
mailing list