1
mirror of https://github.com/mpv-player/mpv synced 2024-09-05 02:48:21 +02:00

warning fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3734 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-12-25 16:38:07 +00:00
parent cc4d2ccbd1
commit 0d08e5f435
2 changed files with 4 additions and 2 deletions

View File

@ -286,8 +286,8 @@ int vivo_check_file(demuxer_t* demuxer){
return 1;
}
static audio_pos=0;
static audio_rate=0;
static int audio_pos=0;
static int audio_rate=0;
// return value:
// 0 = EOF or no stream found

View File

@ -119,10 +119,12 @@ int getrtp(int fd, struct rtpheader *rh, char** data, int* lengthData) {
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. */