[MPlayer-cvslog] CVS: main/libmpdemux network.c, 1.113, 1.114 stream.h, 1.71, 1.72

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Sun Jul 10 16:09:48 CEST 2005


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv1774

Modified Files:
	network.c stream.h 
Log Message:
small warning fix:
function doesn't return anything and the return value is never checked or used


Index: network.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- network.c	24 Jun 2005 11:01:00 -0000	1.113
+++ network.c	10 Jul 2005 14:09:45 -0000	1.114
@@ -627,7 +627,7 @@
 }
 
 
-int fixup_network_stream_cache(stream_t *stream) {
+void fixup_network_stream_cache(stream_t *stream) {
   if(stream->streaming_ctrl->buffering) {
     if(stream_cache_size<0) {
       // cache option not set, will use our computed value.

Index: stream.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- stream.h	29 May 2005 12:53:59 -0000	1.71
+++ stream.h	10 Jul 2005 14:09:45 -0000	1.72
@@ -111,7 +111,7 @@
 #define cache_stream_seek_long(x,y) stream_seek_long(x,y)
 #define stream_enable_cache(x,y,z,w) 1
 #endif
-int fixup_network_stream_cache(stream_t *stream);
+void fixup_network_stream_cache(stream_t *stream);
 
 inline static int stream_read_char(stream_t *s){
   return (s->buf_pos<s->buf_len)?s->buffer[s->buf_pos++]:




More information about the MPlayer-cvslog mailing list