changeset 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 f067a9de373c
children 49cc83ac227f
files libmpdemux/stream_livedotcom.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }