[Mplayer-cvslog] CVS: main/libmpdemux rtp.c,1.2,1.3

pl pl at mplayer.dev.hu
Tue Dec 25 12:49:22 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv20369

Modified Files:
	rtp.c 
Log Message:
warning fix


Index: rtp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/rtp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rtp.c	24 Dec 2001 16:24:35 -0000	1.2
+++ rtp.c	25 Dec 2001 11:49:19 -0000	1.3
@@ -175,7 +175,7 @@
   sin.sin_family=AF_INET;
   sin.sin_port=htons(port);
   sin.sin_addr.s_addr=inet_addr(szAddr);
-  if (bind(socket,&sin,sizeof(sin))) {
+  if (bind(socket,(struct sockaddr *) &sin,sizeof(sin))) {
     perror("bind failed");
     exit(1);
   }




More information about the MPlayer-cvslog mailing list