[MPlayer-cvslog] CVS: main/libmpdemux rtp.c,1.10,1.11

Richard Felker CVS syncmail at mplayerhq.hu
Sat May 13 07:51:37 CEST 2006


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv1578/libmpdemux

Modified Files:
	rtp.c 
Log Message:
posix compliance, dont use ancient legacy name

Index: rtp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/rtp.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- rtp.c	19 Jun 2005 12:42:36 -0000	1.10
+++ rtp.c	13 May 2006 05:51:35 -0000	1.11
@@ -78,7 +78,7 @@
 			mp_msg(MSGT_NETWORK,MSGL_ERR,"Counldn't resolve name: %s\n", url->hostname);
 			goto err_out;
 		}
-		memcpy( (void*)&server_address.sin_addr.s_addr, (void*)hp->h_addr, hp->h_length );
+		memcpy( (void*)&server_address.sin_addr.s_addr, (void*)hp->h_addr_list[0], hp->h_length );
 #else
 		server_address.sin_addr.s_addr = htonl(INADDR_ANY);
 #endif




More information about the MPlayer-cvslog mailing list