From 7daf67e81b1ce919403c12022f8ea2829fa90158 Mon Sep 17 00:00:00 2001 From: rathann Date: Mon, 5 Dec 2005 01:24:27 +0000 Subject: fix stream_livedotcom.c:70: warning: assignment makes pointer from integer without a cast stream_livedotcom.c:77: warning: passing argument 1 of 'lseek' makes integer from pointer without a cast stream_livedotcom.c:78: warning: passing argument 1 of 'lseek' makes integer from pointer without a cast stream_livedotcom.c:84: warning: passing argument 1 of 'read' makes integer from pointer without a cast stream_livedotcom.c:96: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17090 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/stream_livedotcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmpdemux/stream_livedotcom.c b/libmpdemux/stream_livedotcom.c index 19936b9cb4..0de20ce429 100644 --- a/libmpdemux/stream_livedotcom.c +++ b/libmpdemux/stream_livedotcom.c @@ -56,7 +56,7 @@ fail: } static int open_live_sdp(stream_t *stream,int mode, void* opts, int* file_format) { - FILE *f; + int f; char *filename = stream->url; off_t len; char* sdpDescription; @@ -93,6 +93,7 @@ static int open_live_sdp(stream_t *stream,int mode, void* opts, int* file_format *file_format = DEMUXER_TYPE_RTP; return STREAM_OK; } + return STREAM_UNSUPORTED; } -- cgit v1.2.3