[Mplayer-cvslog] CVS: main/libmpdemux rtp.c,1.3,1.4
pl
pl at mplayer.dev.hu
Tue Dec 25 17:36:50 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv8652/libmpdemux
Modified Files:
rtp.c
Log Message:
warning fix
Index: rtp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/rtp.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rtp.c 25 Dec 2001 11:49:19 -0000 1.3
+++ rtp.c 25 Dec 2001 16:36:48 -0000 1.4
@@ -119,10 +119,12 @@
int i;
lengthPacket=recv(fd,buf,1590,0);
+ // FIXME: error handling to write here
headerSize = 3;
*lengthData = lengthPacket - headerSize;
*data = (char*) buf + headerSize;
fprintf(stderr,"[%d] %02x %x\n",lengthPacket,buf[8],buf[0]);
+ return(0);
}
/* create a sender socket. */
More information about the MPlayer-cvslog
mailing list