mirror of
https://github.com/mpv-player/mpv
synced 2025-01-22 23:53:29 +00:00
warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3734 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cc4d2ccbd1
commit
0d08e5f435
@ -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
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user