diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-25 16:38:07 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-25 16:38:07 +0000 |
commit | 0d08e5f4353bc7fbf91a618698808494f44e303f (patch) | |
tree | a2bd57da99b8adc693b25d48ab4b0c945739c8f4 /libmpdemux | |
parent | cc4d2ccbd165016872fd379fbacce930b09a5d43 (diff) | |
download | mpv-0d08e5f4353bc7fbf91a618698808494f44e303f.tar.bz2 mpv-0d08e5f4353bc7fbf91a618698808494f44e303f.tar.xz |
warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3734 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_viv.c | 4 | ||||
-rw-r--r-- | libmpdemux/rtp.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c index a9611d2898..1c7b1d5749 100644 --- a/libmpdemux/demux_viv.c +++ b/libmpdemux/demux_viv.c @@ -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 diff --git a/libmpdemux/rtp.c b/libmpdemux/rtp.c index 8b3abe4c03..bd15918431 100644 --- a/libmpdemux/rtp.c +++ b/libmpdemux/rtp.c @@ -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. */ |