# HG changeset patch # User rathann # Date 1133745867 0 # Node ID 1e8962ee910f926319b7daaf7c6f79e188606563 # Parent f067a9de373c7859761242bab0d432c82b9d5f5c 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 diff -r f067a9de373c -r 1e8962ee910f libmpdemux/stream_livedotcom.c --- a/libmpdemux/stream_livedotcom.c Mon Dec 05 01:18:10 2005 +0000 +++ b/libmpdemux/stream_livedotcom.c Mon Dec 05 01:24:27 2005 +0000 @@ -56,7 +56,7 @@ } 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 @@ *file_format = DEMUXER_TYPE_RTP; return STREAM_OK; } + return STREAM_UNSUPORTED; }