aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-05 01:24:27 +0000
committerGravatar rathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-05 01:24:27 +0000
commit7daf67e81b1ce919403c12022f8ea2829fa90158 (patch)
tree1b3e6e432963296da84d944af3d88d54d02c3cb3 /libmpdemux
parentd537007fb3ff80d8ee12c3f1ba0481bb7d859e44 (diff)
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stream_livedotcom.c3
1 files changed, 2 insertions, 1 deletions
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;
}