comparison libmpdemux/stream_livedotcom.c @ 17089:1e8962ee910f

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
author rathann
date Mon, 05 Dec 2005 01:24:27 +0000
parents 56a5f69e9b35
children 4928dd61f136
comparison
equal deleted inserted replaced
17088:f067a9de373c 17089:1e8962ee910f
54 stream->streaming_ctrl = NULL; 54 stream->streaming_ctrl = NULL;
55 return STREAM_ERROR; 55 return STREAM_ERROR;
56 } 56 }
57 57
58 static int open_live_sdp(stream_t *stream,int mode, void* opts, int* file_format) { 58 static int open_live_sdp(stream_t *stream,int mode, void* opts, int* file_format) {
59 FILE *f; 59 int f;
60 char *filename = stream->url; 60 char *filename = stream->url;
61 off_t len; 61 off_t len;
62 char* sdpDescription; 62 char* sdpDescription;
63 ssize_t numBytesRead; 63 ssize_t numBytesRead;
64 64
91 91
92 stream->type = STREAMTYPE_SDP; 92 stream->type = STREAMTYPE_SDP;
93 *file_format = DEMUXER_TYPE_RTP; 93 *file_format = DEMUXER_TYPE_RTP;
94 return STREAM_OK; 94 return STREAM_OK;
95 } 95 }
96 return STREAM_UNSUPORTED;
96 } 97 }
97 98
98 99
99 stream_info_t stream_info_rtsp_sip = { 100 stream_info_t stream_info_rtsp_sip = {
100 "standard RTSP and SIP", 101 "standard RTSP and SIP",