[Mplayer-cvslog] CVS: main/libvo vo_bl.c,1.3,1.4

Alex Beregszaszi alex at mplayerhq.hu
Thu May 29 21:37:01 CEST 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv5039

Modified Files:
	vo_bl.c 
Log Message:
Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8 at yahoo.de>

Index: vo_bl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_bl.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vo_bl.c	12 Nov 2002 20:37:36 -0000	1.3
+++ vo_bl.c	29 May 2003 19:36:58 -0000	1.4
@@ -175,7 +175,7 @@
 }
 
 static void udp_send(bl_host_t *h) {
-	if (write(h->fd, bl_packet, bl_size) != bl_size) 
+	if (send(h->fd, bl_packet, bl_size, 0) != bl_size) 
 		mp_msg(MSGT_VO, MSGL_ERR, "unable to send to %s\n", h->name);
 }
 



More information about the MPlayer-cvslog mailing list